hass-core/homeassistant/components/mqtt
epenet a202588fd2
Add return type to json_loads (#85672)
* Add JSON type definitions

* Sample use

* Keep mutable for a follo-up PR (avoid dead code)

* Use list/dict

* Remove JsonObjectType

* Remove reference to Union

* Cleanup

* Improve rest

* Rename json_dict => json_data

* Add docstring

* Add type hint to json_loads

* Add cast

* Move type alias to json helpers

* Cleanup

* Create and use json_loads_object

* Make error more explicit and add tests

* Use JsonObjectType in conversation

* Remove quotes
2023-02-07 17:21:55 +01:00
..
light Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00
vacuum Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00
__init__.py Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
abbreviations.py Add suggested_display_precision config option for MQTT sensor (#87129) 2023-02-07 08:55:35 +01:00
alarm_control_panel.py
binary_sensor.py Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
button.py
camera.py
client.py Update mypy to 1.0.0 (#87586) 2023-02-07 02:31:14 +01:00
climate.py Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
config.py
config_flow.py Fix CI, missing import in MQTT (#86517) 2023-01-24 11:40:40 +01:00
config_integration.py
const.py Improve MQTT transport select label (#86216) 2023-01-22 22:12:06 +01:00
cover.py Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
debug_info.py
device_automation.py
device_tracker.py
device_trigger.py
diagnostics.py
discovery.py Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00
fan.py
humidifier.py
lock.py Always add code to template vars MQTT lock command template (#86460) 2023-01-23 16:08:25 +01:00
manifest.json
mixins.py Cleanup code for parsing yaml MQTT config (#86944) 2023-01-31 08:24:33 +01:00
models.py Update Union typing (4) [Py310] (#86427) 2023-01-23 09:04:40 +01:00
number.py Remove use of Number DEVICE_CLASSES_SCHEMA from MQTT (#87345) 2023-02-04 00:08:15 +01:00
scene.py
select.py
sensor.py Fix handling None or empty value for numeric MQTT sensor (#87004) 2023-02-07 11:23:23 +01:00
services.yaml
siren.py Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00
strings.json Allow translating select selector options (#85531) 2023-01-17 16:22:19 +01:00
subscription.py Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
switch.py
tag.py Correct stale doc string for MQTT tag platform (#86862) 2023-01-29 00:23:22 +02:00
text.py
trigger.py
update.py
util.py Fix can not typo (#87254) 2023-02-03 11:37:16 +01:00