Commit Graph
112481 Commits
Author SHA1 Message Date
Leah Oswald 02fb60b33e Fix home connect remaining progress time (#109525)
* fix remaining progress time for home connect component

The home connect API is sending some default values (on dishwashers) for
the remaining progress time after the program finished. This is a problem
because this value is stored and on every API event, for example opening
the door of a dishwasher, the value for remaining progress time is
updated with this wrong value. So I see a wrong value the whole time the
dishwasher is not running and therefore has no remaining progress time.
This coming fixes this problem and adds a check if the appliance is in
running, pause or finished state, because there we have valid data. In
the other states the new code just returns none like on other edge
cases. Now there is no value if there is no program running.

* fix some formating according to the ruff rules

* fix some formating according to the ruff rules again

* fix alphabetic order of imports

* add check if keys exist in dict before accessing them

check if BSH_OPERATION_STATE and ATTR_VALUE key values exist before
accessing them later in the elif statement

* fix formating because forgotten local ruff run
2024-02-04 23:56:12 +01:00
J. Nick Koston 73589015c3 Improve scalability of DHCP matchers (#109406) 2024-02-04 16:50:08 -06:00
Franck Nijhof 3a067d445d Bump version to 2024.2.0b6 2024.2.0b6 2024-02-04 23:25:49 +01:00
Franck Nijhof 4d7c96205d Fix Tuya reauth_successful translation string (#109659) 2024-02-04 23:25:41 +01:00
Jan-Philipp Benecke 3934524d4a Add icon translations to Utility meter helper (#109656) 2024-02-04 23:25:37 +01:00
Franck Nijhof 5747f8ce9d Improve Tuya token/reauth handling (#109653) 2024-02-04 23:25:34 +01:00
Joost Lekkerkerker 02ebf1d7f8 Add icon translations to Random (#109652) 2024-02-04 23:25:31 +01:00
Joost Lekkerkerker d789e83879 Add icon translations to Counter (#109651) 2024-02-04 23:25:28 +01:00
Joost Lekkerkerker ce29b4a7e3 Add icon translations to derivative (#109650) 2024-02-04 23:25:25 +01:00
Joost Lekkerkerker e2695ba88f Allow the helper integrations to omit icon translation field (#109648) 2024-02-04 23:25:22 +01:00
G Johansson 7ca83a7648 Add debug logger for cpu temp in System Monitor (#109627) 2024-02-04 23:25:19 +01:00
G Johansson c0efec4a84 Fix repairs for remove dates in Workday (#109626) 2024-02-04 23:25:16 +01:00
Franck Nijhof f766fbfb98 Fix Tuya QR code expiry, use native QR selector (#109615)
* Fix Tuya QR code expiry, use native QR selector

* Adjust tests
2024-02-04 23:25:14 +01:00
Franck Nijhof bd78c44ac5 Update orjson to 3.9.13 (#109614) 2024-02-04 23:25:11 +01:00
Jan Bouwhuis fd2469e2a7 Fix imap message part decoding (#109523) 2024-02-04 23:25:08 +01:00
Cody CandChris Roberts a7010e3e80 Handle GeoJSON int to str conversion when the name is an int (#108937)
Co-authored-by: Chris Roberts <NasaGeek@users.noreply.github.com>
2024-02-04 23:25:04 +01:00
Joost Lekkerkerker 52d27230bc Add icon translations to Random (#109652) 2024-02-04 23:23:10 +01:00
Jan-Philipp Benecke f18448950c Add icon translations to Utility meter helper (#109656) 2024-02-04 23:21:57 +01:00
Franck Nijhof 945aff6050 Fix Tuya reauth_successful translation string (#109659) 2024-02-04 23:21:18 +01:00
Joost Lekkerkerker 0b3ed92a6e Add icon translations to derivative (#109650) 2024-02-04 23:20:46 +01:00
Joost Lekkerkerker c3690e74c5 Add icon translations to Counter (#109651) 2024-02-04 23:20:14 +01:00
J. Nick Koston 9fef1938b4 Make get_entries_for_device_id skip disabled devices by default (#109645) 2024-02-04 23:11:56 +01:00
Joost Lekkerkerker 2c0b897658 Allow the helper integrations to omit icon translation field (#109648) 2024-02-04 22:57:11 +01:00
Franck Nijhof 10d3b10da4 Improve Tuya token/reauth handling (#109653) 2024-02-04 22:56:22 +01:00
spycleandJoost Lekkerkerker 63ec20ab5d Fix keymitt_ble config-flow (#109644)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-04 22:50:28 +01:00
Aaron Bach edc6e3e2f9 Bump aionotion to 2024.02.0 (#109577) 2024-02-04 14:35:08 -07:00
Cody CandChris Roberts 770119c8ad Handle GeoJSON int to str conversion when the name is an int (#108937)
Co-authored-by: Chris Roberts <NasaGeek@users.noreply.github.com>
2024-02-04 21:26:05 +01:00
Jan Bouwhuis 7cc0b8a2fe Fix imap message part decoding (#109523) 2024-02-04 21:25:14 +01:00
J. Nick Koston f37db94f23 Avoid linear search of entity registry in async_get_device_automations (#109633) 2024-02-04 14:22:12 -06:00
J. Nick Koston 6003ae149a Avoid linear search of entity registry in ruckus_unleashed (#109643) 2024-02-04 15:20:55 -05:00
J. Nick Koston 74812261d4 Avoid linear search of entity registry in rainmachine (#109642) 2024-02-04 21:17:40 +01:00
J. Nick Koston 113d38361d Avoid linear search of entity registry in nmap_tracker (#109640) 2024-02-04 15:16:31 -05:00
G Johansson bc45b31335 Fix repairs for remove dates in Workday (#109626) 2024-02-04 21:15:17 +01:00
J. Nick Koston babfdaac54 Avoid linear search of entity registry in mikrotik (#109639) 2024-02-04 21:13:23 +01:00
J. Nick Koston 3531444e2e Avoid linear search of entity registry in huawei_lte (#109637) 2024-02-04 21:13:06 +01:00
J. Nick Koston 13a5038c17 Avoid linear search of entity registry in lcn (#109638) 2024-02-04 21:12:43 +01:00
J. Nick Koston 6ccf82d7b1 Avoid linear search of entity registry in keenetic_ndms2 (#109635) 2024-02-04 21:12:24 +01:00
J. Nick Koston c988d3d427 Avoid linear search of entity registry in guardian (#109634) 2024-02-04 21:11:56 +01:00
J. Nick Koston b24b4fc237 Use get_entries_for_config_entry_id helper in async_migrate_entries (#109629) 2024-02-04 21:05:48 +01:00
J. Nick Koston 7e3001f843 Remove default values from calls to async_fire (#109613)
There were a few places were we passing unnecessary default values. Since
this code tends to get copied, remove them
2024-02-04 14:49:42 -05:00
J. Nick Koston a7c074e388 Reduce complexity of shelly button setup (#109625) 2024-02-04 13:38:36 -06:00
G Johansson 7572a73c16 Add debug logger for cpu temp in System Monitor (#109627) 2024-02-04 20:11:28 +01:00
Franck Nijhof b553bb71e6 Fix Tuya QR code expiry, use native QR selector (#109615)
* Fix Tuya QR code expiry, use native QR selector

* Adjust tests
2024-02-04 18:58:09 +01:00
Joakim Sørensen e96f574a79 Add diagnostics platform to Traccar Server (#109521) 2024-02-04 18:40:44 +01:00
Franck Nijhof c14ad6455f Update orjson to 3.9.13 (#109614) 2024-02-04 11:37:16 -06:00
J. Nick Koston 8d4f32645d Add tests for shelly switch unique ids (#109617) 2024-02-04 11:23:33 -06:00
J. Nick Koston e35c7fde89 Avoid many string lowers in the state machine (#109607) 2024-02-04 17:35:35 +01:00
Cody C 2c91b31233 Remove default name prefix of HomePods from Suggested Area in Apple TV integration (#109489) 2024-02-04 17:22:22 +01:00
David F. Mulcahey 8a9478b714 Update Flo test to address review comment (#109604)
* Update Flo test to address review comment

* update comment

* clean up

* cleanup

* change mock

* remove unnecessary assert

* review comment
2024-02-04 17:05:51 +01:00
Franck Nijhof d379a9aaae Bump version to 2024.2.0b5 2024.2.0b5 2024-02-04 15:59:46 +01:00