home-assistant: read hq state directly from schalter
This commit is contained in:
parent
0177d07484
commit
f521f42370
|
@ -63,11 +63,11 @@ in
|
|||
platform = "rest";
|
||||
name = "c3d2";
|
||||
unique_id = "status_c3d2";
|
||||
resource = "https://c3d2.de/spaceapi.json";
|
||||
resource = "http://schalter.hq.c3d2.de/schalter.json";
|
||||
method = "GET";
|
||||
scan_interval = 60;
|
||||
verify_ssl = true;
|
||||
value_template = "{{ value_json['state']['open'] }}";
|
||||
value_template = "{{ not value_json['status'] }}";
|
||||
device_class = "door";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue