Can someone please help me understand why this is not working?
hass@hass:~/.homeassistant/includes/automation$ cat mode_day.yaml
---
- alias: 'Day Mode'
trigger:
- platform: numeric_state
entity_id: sensor.living_room_4in1_luminance_8
above: 40
condition:
condition: and
conditions:
- condition: state
entity_id: input_select.house_mode
state: Morning
- condition: time
after: '09:00:00'
before: '17:00:00'
- condition: state
entity_id: input_boolean.automation_override
state: 'off'
action:
- service: notify.all
data:
message: 'Switching to Day mode.'
data:
sound: siren
- service: script.transition_day
hass@hass:~/.homeassistant/includes/automation$ curl -s -X GET -H "Content-Type: application/json" http://hass:8123/api/states | jq '.[] | select(.entity_id|contains("automation.day_mode")) | {entity_id, state}'
{
"entity_id": "automation.day_mode",
"state": "on"
}
hass@hass:~/.homeassistant/includes/automation$ curl -s -X GET -H "Content-Type: application/json" http://hass:8123/api/states | jq '.[] | select(.entity_id|contains("sensor.living_room_4in1_luminance_8")) | {entity_id, state}'
{
"entity_id": "sensor.living_room_4in1_luminance_8",
"state": "44.25"
}
hass@hass:~/.homeassistant/includes/automation$ curl -s -X GET -H "Content-Type: application/json" http://hass:8123/api/states | jq '.[] | select(.entity_id|contains("input_select.house_mode")) | {entity_id, state}'
{
"entity_id": "input_select.house_mode",
"state": "Morning"
}
hass@hass:~/.homeassistant/includes/automation$ date
Sat 1 Oct 09:45:18 CDT 2016
hass@hass:~/.homeassistant/includes/automation$ curl -s -X GET -H “Content-Type: application/json” http://hass:8123/api/states | jq ‘.[] | select(.entity_id|contains(“input_boolean.automation_override”)) | {entity_id, state}’
{
“entity_id”: “input_boolean.automation_override”,
“state”: “off”
}
This is driving me insane, I have upgraded to 0.29.5 and have always had trouble with this particular automation. I'm now using time instead of the sun as a condition to make troubleshooting a bit easier. Since I have upgraded previous automations that have worked in the past are triggering randomly now it seems. I'm just guessing that of all of the examples I have stolen to try and piece this together that I may be doing something stupid now and would really just like a fresh set of eyes on it.
For anyone that takes the time, I really do appreciate it... thank you.