core/homeassistant/components/surepetcare
Dan 94b0800989
Fix surepetcare sensor error (#143286)
* fix: changed boolean to map to 'online' attribute.

* fix: added catch in case of future changes to prevent complete sensor failure.

* fix: surepetcare - added additional catches in case rssi values aren't included in online status.

* fix: remove hub_rssi when not defined.

* fix: proper code spacing

* fix: use .get for clarity instead of try.

* fix: now written in Python.

* fix: renamed variables for clarity.

* Update homeassistant/components/surepetcare/binary_sensor.py

* fix: update surepetcare test __init__.py mock_feeder with online status.

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-04-25 19:29:29 +02:00
..
__init__.py Explicitly pass in the config_entry in surepetcare coordinator (#137926) 2025-02-08 22:12:10 +02:00
binary_sensor.py
config_flow.py Use new reauth helpers in surepetcare (#128748) 2024-10-19 13:41:45 +02:00
const.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
coordinator.py Explicitly pass in the config_entry in surepetcare coordinator (#137926) 2025-02-08 22:12:10 +02:00
entity.py Move surepetcare coordinator to separate module (#117544) 2024-05-16 11:44:36 +02:00
icons.json
lock.py
manifest.json
sensor.py Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
services.yaml
strings.json