mishaaq / sun-card

Lovelace card for sun component - Home Assistant
MIT License
51 stars 10 forks source link

Allow sensors to be specified #12

Closed bacco007 closed 4 years ago

bacco007 commented 4 years ago

Describe the bug I have sun2 installed and configured, however I've got an entity_namespace setup to group the sensors that it creates - this prevents this card from using the sun2 sensors because the sensors the card is looking for is hard-coded

To Reproduce Steps to reproduce the behavior:

  1. Setup Sun2
  2. Set entity_namespace for sun2 to anything
  3. setup Card

Additional context It would be good to be able to specify the names of the sensors required rather then relying on hardcoded values

bussio commented 4 years ago

I reloaded the plugin and now the moon is working. Thank you for the effort!