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