* Optimize tplink i/o
* Cache has_emeter reduceing the number of i/o requests on hs300 by 5
* Use the state from the sysinfo dict for non-strips reducing required requests by one
* Remove I/O from __init__, read has_emeter from sysinfo
* Cleanup __init__ to avoid I/O
* Re-use the sysinfo response for has_emeter
* Use async_add_executor_job() to execute the synchronous I/O ops.
* use the device alias instead of host for coordinator, use executor for unavailable_devices
* Remove unnecessary self.hass assignment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* 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>
* Add Protection CC select entities
comment
* Disable entity by default
* use class attribute
* Enable protection entity by default
* add guard for none
- allows for trailing slashes in configuration (which would otherwise cause errors in the newest fronius firmware)
- fixes units of energy related sensors