So, I have a few automations that control our blinds at various times throughout the day.
This one below closes the blinds at sunset. The weird thing is, I get a warning in the yaml next to the position property, that says “Property position is not allowed” yet the automations do work.
If I set it to 100 it closes the blinds. 50 Sets them halfway, and 0 opens them.
Why am I getting this warning? Is there something I should be doing different?
Also, I noticed that when I create Automations in the UI it creates a long numeric string as the ID. There doesn’t seem to be a rhyme or reason for the number, in terms of how it’s generated. They don’t seem to be sequential or anything. Where is that number pulled from?
- id: '1593310321024' <--------- WHERE DOES THIS COME FROM?
alias: Close the blinds at sunset
description: ''
trigger:
- event: sunset
platform: sun
condition: []
action:
- device_id: 2584664f97b141c388fdad81ae2ef266
domain: cover
entity_id: cover.heather_s_blind
position: 100 Property position not allowed
type: set_position
- device_id: df287ffb17a247a29392beb3c8c9767f
domain: cover
entity_id: cover.mark_s_blind
position: 100 Property position not allowed
type: set_position
Also, the device id…
What is that? Where does it come from? How is it different than the entity_id?