hass-core/tests/components/integration
RoboMagus c1ddde3764
Check if attributes are present in new_state before accessing them (#71967)
* Check if attributes are present in new_state before accessing them.

* Early return if new state is None|Unknown|Unavailable

* Removed whitespace at line endings. +black run

* Update test for coverage
2022-05-25 08:44:08 +02:00
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_config_flow.py Add config flow for integration sensor (#68288) 2022-03-18 09:52:17 +01:00
test_init.py Add config flow for integration sensor (#68288) 2022-03-18 09:52:17 +01:00
test_sensor.py Check if attributes are present in new_state before accessing them (#71967) 2022-05-25 08:44:08 +02:00