|
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 |
|---|
|
|
| automation/Common.php |
|---|
| automation/Scopes/BathroomScope.php 0 → 100644 |
|---|
| automation/Scopes/HallScope.php 0 → 100644 |
|---|
| automation/Scopes/KitchenScope.php 0 → 100644 |
|---|
| automation/Scopes/LightHubScope.php 100644 → 0 |
|---|
| automation/Scopes/MasterBedroomScope.php 0 → 100644 |
|---|
| automation/Scopes/OfficeRoomScope.php 100644 → 0 |
|---|
| automation/Scopes/OfficeScope.php 0 → 100644 |
|---|
| automation/Scopes/OutdoorScope.php 0 → 100644 |
|---|
| automation/Scopes/PlantsRoomScope.php 0 → 100644 |
|---|
| automation/Scopes/ServerRoomScope.php 0 → 100644 |
|---|
| automation/Scopes/SpotlightsScope.php 100644 → 0 |
|---|
| automation/Scopes/TestScriptsScope.php 100644 → 0 |
|---|
| docs/control-scripts-guide.md |
|---|
| server/SHServ/Helpers/DeviceScriptsHelper.php |
|---|
| server/SHServ/Middleware/ControlScripts.php |
|---|
| server/tests/ScriptHelpersTest.php 0 → 100644 |
|---|