Files
core/homeassistant/components
ehendrix23 8bf79d61ee Add upnp binary sensor for connectivity status (#54489)
* New binary sensor for connectivity

* Add binary_sensor

* New binary sensor for connectivity

* Add binary_sensor

* Handle values returned as None

* Small text update for Uptime

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Updates based on review

* Update homeassistant/components/upnp/binary_sensor.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Further updates based on review

* Set device_class as a class atribute

* Create 1 combined data coordinator
and UpnpEntity class

* Updates on coordinator

* Update comment

* Fix in async_step_init for coordinator

* Add async_get_status to mocked device
and set times polled for each call seperately

* Updated to get device through coordinator
Check polling for each status call seperately

* Use collections.abc instead of Typing for Mapping

* Remove adding device to hass.data as coordinator
is now saved

* Removed setting _coordinator

* Added myself as codeowner

* Update type in __init__

* Removed attributes from binary sensor

* Fix async_unload_entry

* Add expected return value to is_on

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-17 20:23:41 +02:00
..
2021-08-17 00:12:45 +00:00
2021-08-17 17:29:20 +02:00
2021-08-17 00:12:45 +00:00
2021-08-07 21:10:21 -07:00
2021-08-10 10:46:33 +02:00
2021-06-06 00:19:43 +00:00
2021-08-05 00:34:46 +00:00
2021-05-17 15:06:36 +02:00
2021-08-07 00:10:12 +00:00
2021-08-11 08:57:56 -07:00
2021-08-02 03:40:04 +00:00
2021-08-06 00:15:04 +00:00
2021-08-12 00:14:10 +00:00
2021-07-22 00:10:31 +00:00
2021-08-12 00:14:10 +00:00
2021-08-12 00:14:10 +00:00
2021-08-06 00:15:04 +00:00
2021-08-02 03:40:04 +00:00
2021-08-05 00:34:46 +00:00
2021-08-12 00:14:10 +00:00
2021-08-17 00:12:45 +00:00
2021-08-14 00:11:27 +00:00
2021-08-02 03:40:04 +00:00
2021-08-06 00:15:04 +00:00
2021-08-02 03:40:04 +00:00
2021-08-06 00:15:04 +00:00
2021-05-25 14:45:17 +02:00
2021-08-05 00:34:46 +00:00
2021-08-09 20:56:19 -07:00
2021-07-14 21:44:57 -07:00
2021-08-06 00:15:04 +00:00
2021-06-08 00:21:17 +00:00
2021-08-06 00:15:04 +00:00
2021-06-15 19:14:57 +02:00
2021-08-06 00:15:04 +00:00
2021-08-12 00:14:10 +00:00
2021-07-14 21:44:57 -07:00
2021-08-13 10:39:16 -07:00
2021-08-12 00:14:10 +00:00
2021-08-05 00:34:46 +00:00
2021-05-25 14:45:17 +02:00
2021-08-08 22:48:33 +02:00
2021-05-15 15:55:07 +02:00
2021-08-17 00:12:45 +00:00
2021-08-12 00:14:10 +00:00
2021-06-08 00:21:17 +00:00
2021-06-05 12:15:03 +02:00
2021-06-08 00:21:17 +00:00
2021-08-08 00:11:15 +00:00
2021-08-02 03:40:04 +00:00
2021-08-11 00:18:57 +00:00
2021-08-06 00:15:04 +00:00
2021-08-06 00:15:04 +00:00
2021-06-06 00:19:43 +00:00
2021-08-17 00:12:45 +00:00
2021-08-15 19:56:56 -07:00
2021-07-19 00:09:50 +00:00
2021-08-12 00:14:10 +00:00
2021-06-15 19:14:57 +02:00
2021-05-25 14:45:17 +02:00
2021-05-25 14:45:17 +02:00
2021-05-25 14:45:17 +02:00
2021-08-06 00:15:04 +00:00
2021-06-07 00:18:16 +00:00
2021-07-14 21:44:57 -07:00
2021-07-22 00:10:31 +00:00
2021-08-12 00:14:10 +00:00
2021-08-08 00:11:15 +00:00
2021-08-12 00:14:10 +00:00
2021-07-14 21:44:57 -07:00
2021-07-14 21:44:57 -07:00
2021-08-06 00:15:04 +00:00
2021-07-22 00:10:31 +00:00
2021-08-07 00:10:12 +00:00
2021-08-12 00:14:10 +00:00
2021-08-12 00:14:10 +00:00
2021-07-07 00:11:57 +00:00
2021-05-25 14:45:17 +02:00
2021-06-08 00:21:17 +00:00
2021-08-02 09:18:59 +02:00
2021-07-19 00:09:50 +00:00
2021-08-08 00:11:15 +00:00
2021-08-06 00:15:04 +00:00
2021-07-19 00:09:50 +00:00
2021-08-16 14:52:53 -05:00
2021-05-25 14:45:17 +02:00
2021-08-16 23:25:41 +02:00
2021-08-17 00:12:45 +00:00
2021-08-17 00:12:45 +00:00
2021-05-25 14:45:17 +02:00
2021-08-06 00:15:04 +00:00
2021-07-19 00:09:50 +00:00
2021-05-25 14:45:17 +02:00
2021-06-06 00:19:43 +00:00
2021-07-19 19:00:37 +02:00
2021-07-07 00:11:57 +00:00
2021-07-07 00:11:57 +00:00
2021-07-07 00:11:57 +00:00
2021-08-07 00:10:12 +00:00
2021-08-12 00:14:10 +00:00
2021-07-14 21:44:57 -07:00
2021-08-02 03:40:04 +00:00
2021-04-24 14:39:24 -10:00
2021-06-15 19:14:57 +02:00
2021-08-06 00:15:04 +00:00
2021-08-06 00:15:04 +00:00
2021-08-06 00:15:04 +00:00
2021-07-19 00:09:50 +00:00
2021-08-16 22:55:52 +02:00
2021-08-08 00:11:15 +00:00
2021-08-17 00:12:45 +00:00
2021-08-07 00:10:12 +00:00
2021-08-17 00:19:12 +02:00
2021-08-02 03:40:04 +00:00
2021-08-06 00:15:04 +00:00
2021-07-13 00:12:55 +02:00
2021-05-25 14:45:17 +02:00
2021-08-17 15:06:22 +02:00
2021-08-07 00:10:12 +00:00
2021-07-22 00:10:31 +00:00
2021-08-08 00:11:15 +00:00
2021-08-13 11:13:25 -05:00
2021-08-12 00:14:10 +00:00
2021-05-25 14:45:17 +02:00
2021-07-05 11:54:00 +02:00
2021-08-16 16:15:42 +02:00
2021-08-15 19:57:18 -07:00
2021-07-22 00:10:31 +00:00
2021-08-06 00:15:04 +00:00
2021-08-17 00:12:45 +00:00
2021-07-19 19:00:37 +02:00
2021-05-25 14:45:17 +02:00
2021-08-05 00:34:46 +00:00
2021-07-07 00:11:57 +00:00
2021-07-19 00:09:50 +00:00
2021-08-06 00:15:04 +00:00
2021-08-15 00:11:00 +00:00
2021-08-12 00:14:10 +00:00
2021-08-08 00:11:15 +00:00
2021-05-25 14:45:17 +02:00
2021-08-12 00:14:10 +00:00
2021-08-15 00:11:00 +00:00
2021-07-19 00:09:50 +00:00
2021-08-11 18:16:28 -04:00
2021-08-17 00:12:45 +00:00
2021-07-14 21:44:57 -07:00
2021-08-04 12:34:04 +02:00
2021-08-12 00:14:10 +00:00
2021-08-16 23:54:45 +02:00
2021-08-05 00:34:46 +00:00
2021-08-12 00:14:10 +00:00