hass-core/homeassistant/components/mqtt/vacuum
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
..
__init__.py Cleanup not used schema validator for MQTT vacuum (#87462) 2023-02-06 13:34:36 +01:00
const.py
schema.py Enforce VacuumEntityFeature (#82466) 2022-11-22 07:27:27 +01:00
schema_legacy.py Cleanup not used schema validator for MQTT vacuum (#87462) 2023-02-06 13:34:36 +01:00
schema_state.py Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00