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