core/homeassistant/components/mobile_app
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
binary_sensor.py
config_flow.py
const.py
device_action.py
device_tracker.py
entity.py
helpers.py Add return type to json_loads (#85672) 2023-02-07 17:21:55 +01:00
http_api.py
logbook.py
manifest.json
notify.py
push_notification.py
sensor.py Fix some mobile app sensor registration/update issues (#86965) 2023-01-30 20:08:19 +01:00
services.yaml
strings.json
util.py Ensure hass is typed (#87068) 2023-02-04 12:52:59 -05:00
webhook.py Fix some mobile app sensor registration/update issues (#86965) 2023-01-30 20:08:19 +01:00
websocket_api.py