Improve climate type hints for supported_features (#82223)
This commit is contained in:
parent
9d8dfc2d71
commit
e85e79052b
6 changed files with 8 additions and 8 deletions
|
@ -475,7 +475,7 @@ class MqttClimate(MqttEntity, ClimateEntity):
|
|||
config.get(key), entity=self
|
||||
).async_render
|
||||
|
||||
support: int = 0
|
||||
support: ClimateEntityFeature | int = 0
|
||||
if (self._topic[CONF_TEMP_STATE_TOPIC] is not None) or (
|
||||
self._topic[CONF_TEMP_COMMAND_TOPIC] is not None
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue