Customization excludes #405
Replies: 5 comments 13 replies
-
Agree, it's getting annoying. I broke my HA system too (how's that for eating your own dog food ;-)) I've been thinking how best to do #317 and using a flag byte (b01 = excluded from MQTT, b10 = make it read-only) and adding to the JSON array (using an key/value pair would take too much memory). For example:
the exclude_entities would need renamed to something more meaningful like 'custom_entities', which would be a breaking change. |
Beta Was this translation helpful? Give feedback.
-
@MichaelDvP do we need to show hidden entities in Line 836 in 28ae1ae it currently shows up as: I say just filter out anything that |
Beta Was this translation helpful? Give feedback.
-
one thing I noticed is that when selected DV_READONLY on one of the Entities it won't automatically delete the old HA config topic and re-create it. I tried modifying the code but it's tricky to catch because we don't recognize state changes so you're not sure which HA topic to remove. So solution is just to restart EMS-ESP after any entities have been marked as read-only and using Home Assistant. see #317 (comment) |
Beta Was this translation helpful? Give feedback.
-
@MichaelDvP bbqkees have some feedback this morning, he said should 'reset' be default hidden from the WebUI ? |
Beta Was this translation helpful? Give feedback.
-
Ok I thought some more settings would be reset if it is pressed. In that case you may want to rename it to 'reset error' or something. |
Beta Was this translation helpful? Give feedback.
-
The numbering, changing on every new value, is getting a bit nasty. How about using the short_names instead of numbers. The file will grow a bit, but only ~2k max. And there is no limit to 255 entities.
This is the result of a test:
emsesp_customizations.txt
Beta Was this translation helpful? Give feedback.
All reactions