Files
core/tests/components
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
..
2023-03-28 14:59:03 +02:00
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-04-22 18:05:14 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-28 17:11:48 +02:00
2023-03-01 12:29:57 -05:00
2023-04-22 14:10:27 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-25 12:31:01 -10:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-03-01 21:19:20 +01:00
2023-02-15 14:09:50 +01:00
2023-04-25 15:40:46 +02:00
2023-02-15 14:09:50 +01:00
2023-03-02 12:33:04 +01:00
2023-03-29 17:43:54 -04:00
2023-02-03 23:08:48 +01:00
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-04-04 00:11:20 -04:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-04-12 08:19:01 +02:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-03-07 11:35:48 +01:00
2023-03-28 16:49:32 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-06 13:48:19 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 08:46:16 +02:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-07 11:35:48 +01:00
2023-02-02 18:35:24 +01:00
2023-04-23 14:09:36 -05:00
2023-02-15 14:09:50 +01:00
2023-04-25 12:20:17 -05:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-12 08:19:01 +02:00
2023-02-22 13:55:44 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 11:54:16 +02:00
2023-02-15 14:09:50 +01:00
2023-02-02 18:35:24 +01:00
2023-03-22 20:00:47 -04:00
2023-01-27 09:09:46 +01:00
2023-04-12 23:47:37 +02:00
2023-04-12 08:19:01 +02:00
2023-03-04 22:26:16 +01:00
2023-02-17 21:08:18 -05:00
2023-04-11 13:54:30 -04:00
2023-03-22 20:00:47 -04:00
2023-03-15 10:07:12 +01:00
2023-04-25 22:21:18 +02:00
2023-02-15 14:09:50 +01:00
2023-04-23 21:28:56 -05:00
2023-04-20 08:42:22 -10:00
2023-01-30 14:06:52 +01:00
2023-03-26 20:03:03 +02:00
2023-03-22 12:01:04 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00