hass-core/homeassistant/components/deconz
Robert Svensson 87551b7880
Improve typing of deCONZ climate platform ()
* Improve typing of deCONZ climate platform

homeassistant/components/deconz/climate.py:153: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str"  [dict-item]
homeassistant/components/deconz/climate.py:154: error: Dict entry 1 has incompatible type "str": "bool"; expected "str": "str"  [dict-item]
homeassistant/components/deconz/climate.py:176: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'low', 'medium', 'high', 'on', 'auto', 'smart']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:200: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'auto', 'cool', 'heat', 'emergency heating', 'precooling', 'fan only', 'dry', 'sleep']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[int]"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[bool]"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[List[str]]"  [arg-type]
homeassistant/components/deconz/climate.py:225: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['holiday', 'auto', 'manual', 'comfort', 'eco', 'boost', 'complex']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:244: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:250: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:253: error: Unused "type: ignore" comment

* Simplify populating supported_hvac_modes
Fix tests
2022-04-14 23:19:42 +03:00
..
translations [ci skip] Translation update 2022-03-13 00:18:58 +00:00
__init__.py Make type checking pass for deCONZ init, gateway and services () 2022-02-23 13:10:35 +01:00
alarm_control_panel.py Improve typing of deCONZ alarm control panel () 2022-04-11 16:19:54 +02:00
binary_sensor.py Improve typing of deCONZ binary_sensor platform () 2022-04-13 23:08:20 +03:00
button.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
climate.py Improve typing of deCONZ climate platform () 2022-04-14 23:19:42 +03:00
config_flow.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
const.py Add Button platform to deCONZ integration () 2022-02-16 17:55:30 +01:00
cover.py Use EntityFeature enum in components (d**) () 2022-04-06 00:00:37 +02:00
deconz_device.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
deconz_event.py Improve typing of deCONZ events () 2022-04-10 17:18:37 +02:00
device_trigger.py Add typing of deCONZ device_trigger () 2022-03-14 17:37:48 +01:00
diagnostics.py Use whole config entry in deCONZ diagnostics () 2022-01-23 23:14:02 +01:00
errors.py
fan.py Use EntityFeature enum in components (d**) () 2022-04-06 00:00:37 +02:00
gateway.py Improve typing of deCONZ gateway () 2022-04-11 09:13:25 +02:00
light.py Use EntityFeature enum in components (d**) () 2022-04-06 00:00:37 +02:00
lock.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
logbook.py Complete typing of some platforms of deCONZ integration () 2022-03-14 19:34:05 +01:00
manifest.json Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
number.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
scene.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
sensor.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00
services.py Improve typing of deCONZ services () 2022-04-10 15:24:28 +02:00
services.yaml Update alarm control panel and deconz alarm event to reflect the finalized implementation in deCONZ () 2021-08-23 20:56:45 +02:00
siren.py Use SirenEntityFeature enum in components () 2022-04-08 09:13:12 +02:00
strings.json Remove redundant names from config flow titles () 2021-05-10 22:14:33 -07:00
switch.py Bump pydeconz to v88 () 2022-04-05 13:44:04 -07:00