baizinger
(Baizinger)
December 18, 2024, 2:39pm
1
When a device, for example a temperature sensor, is broken, it messes up the entity ids for dashboards etc. Some kind of replace device function would be great.
aceindy
(Aceindy)
December 18, 2024, 2:52pm
2
Use entities, not devices…
Background
When you start writing automations, a device trigger seems the obvious choice. Everybody knows what a device is and it comes at the top of the UI dropdown list.
[image]
It works… but it is certainly not a “great way to start” because it is storing up problems for the future. Far better to use an entity, with state or numeric_state.
Device_id problems
The yaml will be longer and harder to follow, which may make maintenance difficult, especially a few months down the line when y…
3 Likes
petro
(Petro)
December 18, 2024, 6:24pm
5
duplicate, see link above.