This reverts #116200 We changed the polling logic to avoid polling if all chars are marked as watchable to avoid crashing the firmware on a very limited set of devices as it was more in line with what iOS does. In the end, the user ended up replacing the device in #116143 because it turned out to be unreliable in other ways. The vendor has since issued a firmware update that may resolve the problem with all of these devices. In practice it turns out many more devices report that chars are evented and never send events. After a few months of data and reports the trade-off does not seem worth it since users are having to set up manual polling on a wide range of devices. The amount of devices with evented chars that do not actually send state vastly exceeds the number of devices that might crash if they are polled too often so restore the previous behavior fixes #138561 fixes #100331 fixes #124529 fixes #123456 fixes #130763 fixes #124099 fixes #124916 fixes #135434 fixes #125273 fixes #124099 fixes #119617 |
||
---|---|---|
.. | ||
fixtures | ||
snapshots | ||
specific_devices | ||
__init__.py | ||
common.py | ||
conftest.py | ||
test_alarm_control_panel.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_camera.py | ||
test_climate.py | ||
test_config_flow.py | ||
test_connection.py | ||
test_cover.py | ||
test_device_trigger.py | ||
test_diagnostics.py | ||
test_event.py | ||
test_fan.py | ||
test_humidifier.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_media_player.py | ||
test_number.py | ||
test_select.py | ||
test_sensor.py | ||
test_storage.py | ||
test_switch.py | ||
test_utils.py |