* Freebox switch: use EntityDescription
* unique_id base on key later with migration step
* Keep the same name
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/freebox/switch.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Removing specific FreeboxSwitchEntityDescription as there is one sensor, for now
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* mapping
* update
* working
* tests
* fixes
* temp add binary sensor platform to make sure it works
* fixes
* 100% cover
* adjust
* disable chatty sensors by default
* remove binary sensor_platform for next PR
* time is much nicer than counter
* Add suggested_unit_of_measurement attribute to sensors
* Lazy calculation of initial entity options
* Add type alias for entity options
* Small tweak
* Add tests
* Store suggested_unit_of_measurement in its own option key
* Adapt to renaming of IMPERIAL_SYSTEM
* Fix rebase mistakes
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Move advanced broker settings to entry
* Add repair issue for deprecated settings
* Split CONFIG_SCHEMA
* Do not store certificate UI flags in entry
* Keep entered password in next dialog
* Do not process yaml config in flow
* Correct typo
* Add Freebox button to mark calls as read
* Bump Freebox to 1.0.1
* Fix black/flake8
* Add entity_category + fix reboot button name
* Add has_entity_name to reboot
* Remove 'missed' as it put all calls as read
* base unique_id on key and not name
* unique_id base on key later with migration step
* Keep the same name
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Expose Nobø Switch as temperatur sensor.
* - Review
- Hub may report current temperature as None
* Avoid update during entity addition, and fix race condition
* Update pynobo to 1.6.0
Use new method to fix potential race condition.
* Use generator expressions
* Use distance device class for sensors
* Change sensor name casing and unique_id
* Migrate sensor entity unique_id
* Match title-cased unique_id when migrating
* Remove unneeded regex to find '_' delimited id suffix
* Incorporate PR review comments
* Add check to prevent extra odometer entity migration