Files
labFusion/services
GSRN 227597b512
Some checks failed
Integration Tests / integration-tests (push) Failing after 19s
Integration Tests / performance-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 55s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 1m0s
Service Adapters (Python FastAPI) / test (3.13) (push) Failing after 58s
Service Adapters (Python FastAPI) / build (push) Has been skipped
feat: Refactor sensor health checker for improved response handling
### Summary of Changes
- Introduced `_handle_sensor_response` and `_handle_successful_response` methods to streamline the processing of sensor API responses.
- Enhanced readability and maintainability by breaking down complex logic into smaller, focused methods.
- Added specific parsing methods for Home Assistant sensors, including `_parse_home_assistant_sensor`, `_parse_uptime_sensor`, and others to improve clarity and separation of concerns.

### Expected Results
- Improved code organization, making it easier to understand and extend the health checker functionality.
- Enhanced error handling and response management for sensor data, leading to more robust health checks.
2025-09-18 13:11:50 +02:00
..
2025-09-11 22:08:12 +02:00