hi, i have a sensror, thats reading a hex string
for example
01000100…
every light in my house is 2 bits long, so this means (in example above)
light 1 : 01 (on)
ligth 2 : 00 (off
ligth 3 : 01 (on)
light 4 : 00 (off)
…
so i have an 4 automation configured:
automation 1
indeed, i can make multiple sensors, but in programming time it takes the same amount of time
i have a domotica system, with no integrations or bindings whats so ever , but i cand send and read out TCP commands, in hex format, based on a 48 bit long string i know the output of my lights, etc …
so i have one sensor to read out my whole home, then based on automation, i am going to change the state of a switch
because it can happen offcourse, it we put the light on on a classic switch outside of HA, then offcourse HA needs to change the state also, but without actually turning it off/on
You are new to ha by the sound of it. In ha this is a ‘light’ not a ‘sensor’. And each light is a single entity, although you can group a number of lights if you want to have them all act together.
nvalid config for [automation]: invalid template (TemplateSyntaxError: unexpected ‘)’) for dictionary value @ data[‘condition’][0][‘value_template’]. Got None
not a valid value for dictionary value @ data[‘condition’][0][‘condition’]. Got None
required key not provided @ data[‘condition’][0][‘entity_id’]. Got None.
if i change it , how i did it before, on my old config, just reading sensor by sensort
then i dont have an program script error, but it doesnt work either, doesnt start the automation