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