Expose the keep_alive_sec attribute in HASS Developer Tools - States (#381)
* Typing: Make BaseThermostat generic on the UnderlyingEntity type * Typing: Change the type of IntervalCaller._interval_sec from int to float This makes the IntervalCaller class more reusable. * Keep-alive: Expose UnderlyingSwitch.keep_alive_sec as a HASS Dev Tools attribute Also improve a keep-alive log message.
This commit is contained in:
committed by
GitHub
parent
5db7a49e75
commit
6a97622226
@@ -31,7 +31,7 @@ from .underlyings import UnderlyingValve
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ThermostatOverValve(BaseThermostat): # pylint: disable=abstract-method
|
||||
class ThermostatOverValve(BaseThermostat[UnderlyingValve]): # pylint: disable=abstract-method
|
||||
"""Representation of a class for a Versatile Thermostat over a Valve"""
|
||||
|
||||
_entity_component_unrecorded_attributes = (
|
||||
|
||||
Reference in New Issue
Block a user