Closed AalianKhan closed 1 year ago
Would it be better to have it under a separate device_options
instead of nested in card_options
?
@ajagnanan How I see it is that card_options is for editing the display of the cards. Entity IDs and now device IDs are just specifiers for which card to edit. I didn't want to create another entry for just hiding devices.
Gotcha, I can test it when ready.
Would it be better to have it under a separate device_options instead of nested in card_options?
@ajagnanan How I see it is that card_options is for editing the display of the cards. Entity IDs and now device IDs are just specifiers for which card to edit. I didn't want to create another entry for just hiding devices.
The way I see it, cards are a visual representation of an entity. So actually I'm not to sure about listing a device_ids among entity_ids.
Gotcha, I can test it when ready.
@ajagnanan You can always test code.
Make sure you create a backup of the original files to be able to revert.
Place file src\mushroom-strategy.js
from the correct branch (in this case hide-devices
) in folder config/www/community/mushroom-strategy/
of your HA instance.
Remove file mushroom-strategy.tar.gz
from folder config/www/community/mushroom-strategy/
of your HA instance.
@DigiLive Cards can display anything from areas to devices. It is a bit of a subjective statement
@DigiLive Cards can display anything from areas to devices. It is a bit of a subjective statement
No they can't, unless when it's a template-card of some sort. Otherwise cards display (or behave) on entity properties. But I see you've made your decision already by merging, so no need to discuss it anymore. 👍🏻 It's fine with me. Just giving feedback to show other perspectives.
48