PiotrMachowski / Home-Assistant-Lovelace-Local-Conditional-card

This card can show and hide a specific card on current device while not affecting other windows. It does not require any integration to run.
MIT License
61 stars 6 forks source link

Toggle service with automation #3

Closed Chaosflori25 closed 4 years ago

Chaosflori25 commented 4 years ago

I tried to toggle the service with an automation but it did not work. Is it possible to toggle the cards with an automation? If not, would it be possible to add this as a Feature?

PiotrMachowski commented 4 years ago

It is not possible to call this service from automations/scripts, as it is working only in scope of current browser. It is not possible to add this as a feature, because it would require totally different approach (similar to browser_mod; maybe it would be possible to add this feature to it). Currently to do it you have to use standard conditional card