rianadon / opensprinkler-card

Home Assistant card for collecting OpenSprinkler status
Other
66 stars 8 forks source link

Allow any entities to be added to card #3

Closed vinteo closed 3 years ago

vinteo commented 3 years ago

Not sure how you feel about this but this PR makes it able to show more than just stations. At first I only wanted to show the water level and programs but I realized after doing it any entity would work too, even ones that don't belong to the device. As you can see from the screenshot below I added a light and a motion sensor just for testing.

image

In this case maybe the config card_stations should be renamed too?

rianadon commented 3 years ago

Thanks for this! I owe you one for the integration, but I love the idea anyways.

You're right card_stations will need a rename, and I want to make those item heights consistent before the next release, but there's no harm in merging.