home-assistant: read hq state directly from schalter

This commit is contained in:
Sandro - 2024-02-04 20:54:32 +01:00
parent 0177d07484
commit f521f42370
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
];