-
- Downloads
Refactor Freebox : add config flow + temperature sensor + signal dispatch (#30334)
* Add config flow to Freebox * Add manufacturer in device_tracker info * Add device_info to sensor + switch * Add device_info: connections * Add config_flow test + update .coveragerc * Typing * Add device_type icon * Remove one error log * Fix pylint * Add myself as CODEOWNER * Handle sync in one place * Separate the Freebox[Router/Device/Sensor] from __init__.py * Add link step to config flow * Make temperature sensors auto-discovered * Use device activity instead of reachablility for device_tracker * Store token file in .storage Depending on host if list of Freebox integration on the future without breaking change * Remove IP sensors + add Freebox router as a device with attrs : IPs, conection type, uptime, version & serial * Add sensor should_poll=False * Test typing * Handle devices with no name * None is the default for data * Fix comment * Use config_entry.unique_id * Add async_unload_entry with asyncio * Add and use bunch of data size and rate related constants (#31781) * Review * Remove useless "already_configured" error string * Review : merge 2 device & 2 sensor classes * Entities from platforms * Fix unload + add device after setup + clean loggers * async_add_entities True * Review * Use pathlib + refactor get_api * device_tracker set + tests with CoroutineMock() * Removing active & reachable from tracker attrs * Review * Fix pipeline * typing * typing * typing * Raise ConfigEntryNotReady when HttpRequestError at setup * Review * Multiple Freebox s * Review: store sensors in router * Freebox: a sensor story
Showing
- .coveragerc 5 additions, 1 deletion.coveragerc
- CODEOWNERS 1 addition, 1 deletionCODEOWNERS
- homeassistant/components/freebox/.translations/en.json 26 additions, 0 deletionshomeassistant/components/freebox/.translations/en.json
- homeassistant/components/freebox/__init__.py 61 additions, 48 deletionshomeassistant/components/freebox/__init__.py
- homeassistant/components/freebox/config_flow.py 110 additions, 0 deletionshomeassistant/components/freebox/config_flow.py
- homeassistant/components/freebox/const.py 75 additions, 0 deletionshomeassistant/components/freebox/const.py
- homeassistant/components/freebox/device_tracker.py 132 additions, 49 deletionshomeassistant/components/freebox/device_tracker.py
- homeassistant/components/freebox/manifest.json 2 additions, 1 deletionhomeassistant/components/freebox/manifest.json
- homeassistant/components/freebox/router.py 193 additions, 0 deletionshomeassistant/components/freebox/router.py
- homeassistant/components/freebox/sensor.py 99 additions, 53 deletionshomeassistant/components/freebox/sensor.py
- homeassistant/components/freebox/strings.json 26 additions, 0 deletionshomeassistant/components/freebox/strings.json
- homeassistant/components/freebox/switch.py 32 additions, 17 deletionshomeassistant/components/freebox/switch.py
- homeassistant/generated/config_flows.py 1 addition, 0 deletionshomeassistant/generated/config_flows.py
- requirements_test_all.txt 3 additions, 0 deletionsrequirements_test_all.txt
- tests/components/freebox/__init__.py 1 addition, 0 deletionstests/components/freebox/__init__.py
- tests/components/freebox/conftest.py 11 additions, 0 deletionstests/components/freebox/conftest.py
- tests/components/freebox/test_config_flow.py 144 additions, 0 deletionstests/components/freebox/test_config_flow.py
Loading
Please register or sign in to comment