[Feature]: More responsive custom:mushroom-entity-card
#1424
Labels
enhancement
New feature or request
custom:mushroom-entity-card
#1424
Requirements
Is your feature request related to a problem?
After tapping on the card once for some of my entities, the UI takes a while to react that I think something is wrong (a while = over 1 second)
The reason this happens is because I scripted some switches over MQTT, e.g. turning off wifi, blocking ads etc, and these do require the scripts to complete running.
For HA's native on/off switch, what I observe is they change state immediately upon being clicked and only to revert back to original state if the script fails, this in my view is a better behavior
Describe the solution you'd like
Follow HA's native switch implementation and toggle the UI immediately, and if the action fails, the entity state changes back again shortly because of feedback from the sensor
Describe alternatives you've considered
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered: