Arduino Automation Issue
Home Assistant release (hass --version):
0.16.1
Python release (python3 --version):
3.4.2
Component/platform: Raspberry Pi B
Description of problem: I can not get any automation working.
Expected: Expected the button to switch on and the Digital Pin 9 to switch on when Arduino Analog Pin 0 value is above 160 (It is now around 226).
I have managed to get notifications sent to pushbullet before, but not anymore, that is why I commented it out below. I can however send messages to pushbullet via the Call Service option in HA?
configuration.yaml includes this line:
automation: !include automation.yaml
automation.yaml:
- !include automation/rain_sensor.yaml
Here is my rain_sensor.yaml file:
alias: Switch Off Solenoid
trigger:
- platform: numeric_state
entity_id: sensor.arduino_a0
below: 160
# platform: time
# after: "05:00"
# before: "23:00"
condition: use_trigger_values
action:
service: homeassistant.turn_off
entity_id: switch.arduino_d9
#action:
# service: notify.pushbullet
# data: {"message":"Value Below 200 - Valve Open"}
alias: Switch On Solenoid
trigger:
- platform: numeric_state
entity_id: sensor.arduino_a0
above: 160
# platform: time
# after: "05:00"
# before: "23:00"
condition: use_trigger_values
action:
service: homeassistant.turn_on
entity_id: switch.arduino_d9
#action:
# service: notify.pushbullet
# data: {"message":"Value Above 350 - Valve Closed"}
HA starts up but nothing happens?
Here is the error Log:
16-04-01 13:00:28 homeassistant.bootstrap: Error during setup of component group
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/bootstrap.py", line 105, in _setup_component
if not component.setup(hass, config):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/group.py", line 123, in setup
object_id=object_id)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/group.py", line 151, in __init__
self.update_tracked_entity_ids(entity_ids)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/group.py", line 201, in update_tracked_entity_ids
self.tracking = tuple(ent_id.lower() for ent_id in entity_ids)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/group.py", line 201, in <genexpr>
self.tracking = tuple(ent_id.lower() for ent_id in entity_ids)
AttributeError: 'OrderedDict' object has no attribute 'lower'
16-04-01 13:00:28 homeassistant.bootstrap: Not initializing automation because not all dependencies loaded: group
16-04-01 13:00:34 homeassistant.components.recorder: Found unfinished sessions
Is your group setup correct?
16-04-01 13:00:28 homeassistant.bootstrap: Error during setup of component group
Using Templates instead.