Commit Graph

14 Commits

Author SHA1 Message Date
adb42f95e8 Implement Flush Mounted Presence Sensor Routine Control and change the device type logic 2025-05-11 16:33:11 +03:00
8a21828dd4 add water heater device to routine and fix device type in routine 2025-05-05 10:00:54 +03:00
06b14a3964 add tow gang and change gang device ui 2025-04-17 16:14:48 +03:00
5493ca6fb0 Refactor device filtering logic to improve code readability 2025-04-17 10:38:25 +03:00
7005d8ba83 Refactor device filtering logic and improve code readability
- Extracted the logic for filtering implemented devices into a separate method `_getOnlyImplementedDevices`
- Created a set `allowedDevices` to store the allowed device types
- Updated the filtering logic to use the `allowedDevices` set for checking device types
- Removed unnecessary conditions for filtering devices

Fix nullability issues in `Action` model

- Added null checks for `actionExecutor`, `entityId`, `name`, `type`, and `productType` properties in the `fromJson` method of the `Action` model
- Set default values for `actionExecutor` and `entityId` if they are null
- Updated the type casting for `name`, `type`, and `productType` properties to avoid potential nullability issues
2025-04-17 10:16:10 +03:00
60df77efad add OneGang product type to routine 2025-04-17 09:32:20 +03:00
3f7f7ce49f updated project hardcoded values 2025-02-16 20:55:13 +04:00
33d2bbc91f Hide unused widgets 2024-12-17 01:13:36 +03:00
87a4a88417 fixed automation 2024-11-02 23:10:24 +04:00
13a4bf25b3 added unit devices 2024-10-30 19:16:10 +04:00
ce94d91f83 Fetched devices based on the unit id 2024-07-01 22:27:15 +03:00
9fe25b9bd3 finished adding tasks and removing them , added error handling 2024-06-26 20:32:34 +03:00
6413d2b876 working on functions view 2024-06-25 10:38:39 +03:00
759888857d finished rooms call with all devices and single devices call 2024-06-23 20:12:38 +03:00