Refactor: room-based Control Scripts scopes + helper relocation
...
- Split 3 old scopes into 8 room/zone scopes:
OfficeScope, PlantsRoomScope, ServerRoomScope, HallScope,
KitchenScope, MasterBedroomScope, BathroomScope, OutdoorScope
- Deleted: LightHubScope, OfficeRoomScope, SpotlightsScope, TestScriptsScope
- Moved helpers from Common trait to ControlScripts / DeviceScriptsHelper
- Common trait now holds ONLY register_global_device_sync_map (centralized)
- Added dedup in add_sync_connection to prevent sync map duplication
- Removed dead Button entries from group_toggle targets
- Updated docs/control-scripts-guide.md with scope concept
- Adapted ScriptHelpersTest for protected helper methods
Eugene Sukhodolskiy
committed
1 day ago