cmroche / OctoPrint-HomeAssistant

Home Assistant plugin for OctoPrint, enabling MQTT discovery of you device and sensors
110 stars 18 forks source link

Example card setup for Lovelace doesnt work #74

Closed yasars closed 2 years ago

yasars commented 3 years ago

hi my friend can you check this exampe card for Lovelance!?

when you save your code , you can see it, when you go to edit you see it.... where is the bug :D

thx

Bildschirmfoto 2021-09-01 um 15 57 23 Bildschirmfoto 2021-09-01 um 15 57 26

yasars commented 3 years ago

can you look here and fix it 🗡️ i need the button for condistion... and other colors.._D

`cards:

cmroche commented 2 years ago

There's a condition card in there which checks for availability of the printer, I think based on the switch that I am using. Lovelace auto-shows the cards when editing (since that makes sense).

I might look to change the example since technically the switch is an external component to this plugin, but the behaviour is as expected.