Commit Graph

16 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
2b0e504f05 Refactor device name display in Action and Condition models 2025-04-23 10:07:14 +03:00
a51c4d9679 Refactor device name display in RoomPageSwitch widget 2025-04-21 15:00:31 +03:00
73d28a1800 Refactor Action class to use type annotations for actionExecutor and entityId 2025-04-17 10:41:01 +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
7d51ca1f12 Fixed bugs in automation 2024-11-05 00:52:38 +04:00
87a4a88417 fixed automation 2024-11-02 23:10:24 +04:00
3d56f33ec3 Implemented tab to run setting 2024-10-28 16:45:59 +03:00
769be41855 con setting 2024-10-27 17:16:37 +03:00
b66fbc32e7 push fixes 2024-08-01 03:11:03 +03:00
eb8ad90dcb push switch autoaomtion status update 2024-07-28 06:57:33 +03:00
8a4c5af2e7 push automation details and update automation 2024-07-25 00:25:48 +03:00
75fe80e72a commit last changes 2024-07-01 22:31:50 +03:00
f285afcbe6 adding the delay 2024-07-01 05:23:27 +03:00
6584b894c4 finished get scene details 2024-06-30 01:54:08 +03:00