Commit graph

41 commits

Author SHA1 Message Date
Jon Williams 8459e921ce Fix HomeAssistantType deprecation for Home Assistant 2025.x compatibility
Replace deprecated HomeAssistantType with HomeAssistant from homeassistant.core.

HomeAssistantType was removed in newer Home Assistant versions, causing ImportError.
This updates all imports from homeassistant.helpers.typing to homeassistant.core.

Fixes compatibility with Home Assistant 2026.x and later versions.

Files updated:
- __init__.py
- binary_sensor.py
- button.py
- climate.py
- entity.py
- fan.py
- light.py
- lock.py
- number.py
- select.py
- sensor.py
- switch.py
2026-02-06 17:24:48 +00:00
Andre Basche a6c2c3e992 Rebuild to single data coordinator 2024-03-29 01:22:44 +01:00
Andre Basche c46171114f Change poll to push 2024-03-25 02:26:20 +01:00
Andre Basche 6e8576c7bd Add FRE appliances, #177 2024-03-17 23:54:50 +01:00
Andre Basche f007777689 Fix mypy checks 2024-01-11 00:41:49 +01:00
Andre Basche 9d6b8297b2 Add mypy check, add missing types and fix type issues 2023-07-23 21:53:00 +02:00
Andre Basche f0fb5742a4 Add compatibility for more fridge models #93 2023-07-19 23:57:33 +02:00
Andre Basche c0d25a4efe Fix some small bugs 2023-07-10 00:21:45 +02:00
Andre Basche 2e056aa8d6 Update icons/translations 2023-07-10 00:19:43 +02:00
Andre Basche 0d43eeff3d Merge branch 'main' into refactor 2023-06-22 13:18:45 +02:00
Andre Basche 78727e89cd Add entites for air purifier #72 2023-06-21 00:59:42 +02:00
Andre Basche 1ea9153c2e Apply changes for new pyhon version 2023-06-13 00:14:51 +02:00
Andre Basche 80b3741f2f Reduce lagging update 2023-06-08 20:01:55 +02:00
Andre Basche a8762367ed Refactor hon entities 2023-05-28 00:30:40 +02:00
Andre Basche 696dc136eb Refactor entry setup 2023-05-25 01:30:33 +02:00
Andre Basche e9d1bb2056 Refactor get coordinator 2023-05-25 00:52:54 +02:00
Andre Basche d963086dbf Fix climate not available #52 2023-05-19 01:27:44 +02:00
Andre Basche a4ec3290ba Many air conditioner fixes for #52 2023-05-17 00:01:33 +02:00
Andre Basche 81676771c7 Add some fridge sensors, change some configs to controls 2023-05-15 19:27:41 +02:00
Andre Basche 604cf1b3c6 Add more fridge sensor #41 2023-05-15 00:38:41 +02:00
Andre Basche 146e710881 Add first fridge sensors #41 2023-05-10 18:23:06 +02:00
Andre Basche 6935f5f07f Deactivate contols when remotectrl disabled, fixes #28 2023-05-07 19:13:50 +02:00
Andre Basche 155b1ff91a Add all wm and td sensors to wd 2023-05-07 16:39:45 +02:00
Andre Basche 0e9bd97c7b Remove useless warning, bump version 2023-05-07 13:53:05 +02:00
Andre Basche c0fda4cd1b Add more control for hoover washing machine #34 2023-05-07 02:10:30 +02:00
Andre Basche 5bff5d2143 Add more translation keys 2023-04-24 21:38:05 +02:00
Andre Basche c60d94a170 Improve translations and sensors for td and wm 2023-04-23 16:30:57 +02:00
Andre Basche 90e02428e8 start translation of entity names 2023-04-23 03:31:32 +02:00
Andre Basche a2d0257410 Add more sensors for #22 2023-04-18 23:50:14 +02:00
Andre Basche 5f9dbef4fc Add dishwasher #21 2023-04-16 21:55:47 +02:00
Andre Basche 2aa1d3df01 Correct name for IH #22 2023-04-16 13:56:58 +02:00
Andre Basche d91b3edb40 Use unique_id instead of mac address for #22 2023-04-15 22:05:02 +02:00
Andre Basche 83c5e3479e Add hob support #22 2023-04-15 04:34:12 +02:00
Andre Basche 907bc44533 Reformat with black 2023-04-10 19:51:16 +02:00
Andre Basche 7e9202ef38 New pyhOn version 2023-04-10 07:09:54 +02:00
Andre Basche 6093b57f76 Merge branch 'main' into oven 2023-04-08 04:44:47 +02:00
Miguel Ángel 116f9d5470 Add oven support 2023-04-07 13:52:55 +02:00
Andre Basche 077bded6dd Improve washing machine sensors 2023-04-02 02:44:13 +02:00
drudgebg 196309ef5f
Update binary_sensor.py 2023-03-21 14:05:03 +02:00
Andre Basche 075d34b5e2 Fix many bugs 2023-03-08 23:00:55 +01:00
Andre Basche 03a1e40b6e Rename repo 2023-03-06 13:41:58 +01:00
Renamed from custom_components/haier/binary_sensor.py (Browse further)