Florent Thiery
bd7057f7b1
Add raid array degraded state binary sensor to freebox sensors ( #95242 )
...
Add raid array degraded state binary sensor
2023-07-05 15:09:12 +02:00
nachonam
2d510bfe0d
Add camera platform to Freebox ( #88104 )
...
* Add Freebox cameras
* Apply suggestions from code review
add code corrections after PR review
Co-authored-by: Quentame <polletquentin74@me.com>
* Update base_class.py
* add some code syntax corrections add unit tests
* add unit tests
* add syntax changes
* Update homeassistant/components/freebox/router.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/router.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/base_class.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/router.py
Co-authored-by: Quentame <polletquentin74@me.com>
* clear code and add minor changes
* correct syntax error and check home granted access
* typing functions
* Update tests/components/freebox/conftest.py
don't needed, and will fix tests.
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Rename _volume_micro variable
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Use const not literal
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
set to true not needed
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
use _attr_supported_features instead _supported_features
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
overload the entity with command_flip property and set_flip not needed
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Cameras does not default to False,
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
delete this function because is not needed
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Co-authored-by: Quentame <polletquentin74@me.com>
* consts, rollback _command flip is protected var
* VALUE_NOT_SET does not exists anymore
* Use HOME_COMPATIBLE_PLATFORMS
* Rename FreeboxHomeBaseClass to FreeboxHomeEntity
* Update Freebox Home comment
* Use CATEGORY_TO_MODEL to set model attr of FreeboxHomeEntity
* Use Home API from the router
* Add SERVICE_FLIP const
* Use SERVICE_FLIP const
* Fix typo in HOME_COMPATIBLE_PLATFORMS
* fix somme code issues
* use SERVICE_FLIP (lost in merge)
* use _attr_device_info
* clear code
* HOME_COMPATIBLE_PLATFORMS is a list
* Update homeassistant/components/freebox/home_base.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/home_base.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/config_flow.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/home_base.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/home_base.py
Co-authored-by: Quentame <polletquentin74@me.com>
* clear config_flow permission
* Update homeassistant/components/freebox/home_base.py
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Co-authored-by: Quentame <polletquentin74@me.com>
* add untested files to. coveragerc
* clear unused attributes
* add not tested file camera.py
* clear unusued const
* add extra_state_attributes
* Update .coveragerc
Co-authored-by: Quentame <polletquentin74@me.com>
* Update homeassistant/components/freebox/camera.py
Co-authored-by: Quentame <polletquentin74@me.com>
* fetch _flip
* del flip service
* add device_info via_device
* Update .coveragerc
* Update .coveragerc
* Update .coveragerc
* Update .coveragerc
* Remove flip reference
* Fix issue on router without Home API
* Fix "Home access is not granted" log repeats every 30s
* Fix sensor device_info
---------
Co-authored-by: Quentame <polletquentin74@me.com>
2023-04-26 00:03:39 +02:00
Benoit Anastay
766523cf8c
Fix error with HDD temperature report in Freebox integration ( #74718 )
...
* Fix error whith HDD temperature report
There was a non handled error case, documented in issue https://github.com/home-assistant/core/issues/43812 back in 2020 and the fix wasn't applied
* Use get method instead of ignoring the sensor
* Update test values
Add idle state drive with unkown temp
* update Tests for system sensors api
* Fix booleans values
* Fix disk unique_id
There was a typo in the code
2022-07-08 14:22:31 -07:00
Quentame
6b9abfc2c6
Add init test to Freebox ( #46998 )
...
* Add init test to Freebox
* Review : more readable conftest
* Expect 2 blank lines between defs
* Review : Not I/O in the event loop
* Fix test_setup test
* remove useless const
* Review : mock setup methods
* Add service test
* Add import test
2021-03-02 13:37:33 +01:00