mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-26 03:17:56 +00:00
push display scenes and automations
This commit is contained in:
@@ -22,9 +22,9 @@ class ScenesModel {
|
||||
name: json["name"] ?? '',
|
||||
status: json["status"] ?? '',
|
||||
type: json["type"] ?? '',
|
||||
icon: (isAutomation ?? false)
|
||||
icon: isAutomation == true
|
||||
? Assets.automation
|
||||
: json["icon"] as String?,
|
||||
: (json["icon"] as String?),
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
|
||||
Reference in New Issue
Block a user