fixed automation and tab to run bugs

This commit is contained in:
ashraf_personal
2024-11-27 00:30:13 +03:00
parent 8d908e894b
commit 644e56aa7a
5 changed files with 374 additions and 156 deletions

View File

@ -74,7 +74,7 @@ class _AutomationDialogState extends State<AutomationDialog> {
DeviceFunctionData(
entityId: widget.automationId,
functionCode: 'automation',
value: _isEnabled,
value: _isEnabled ? 'rule_enable' : 'rule_disable',
operationName: 'Automation',
),
],