Edit the-saloon.yaml
This commit is contained in:
parent
65acda99dc
commit
94aca59704
@ -186,6 +186,7 @@ interval:
|
||||
then:
|
||||
- lambda: |-
|
||||
if (response->status_code != 200) {
|
||||
ESP_LOGD("http_response", "Failed connection to remote sensor. Status code: %d", status_code);
|
||||
id(lights_str).publish_state("ERR");
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user