twrecked / lovelace-hass-aarlo

Lovelace card for hass-aarlo integration.
75 stars 23 forks source link

Turn camera light on #125

Open ptgomes opened 2 years ago

ptgomes commented 2 years ago

How can I make the camera light switch appear on the card?

twrecked commented 2 years ago

Sorry, do we provide a switch for the camera light? (I can't tell from the code and it's been a while since I looked at this stuff.)

ptgomes commented 2 years ago

On your code tab you've got: image

also: "light; light status, click to turn off and on", but the bulb doesn't appear.

twrecked commented 2 years ago

You need to add the light id to the card:

...
image_bottom:
  - battery,signal,library,sound,motion,stream,snapshot
  - door,lock,bell,light
light: light.porch_light
ptgomes commented 2 years ago

Thank you, I was missing _light: light.porchlight

When I press play(stream), the light icon doesn't show up, only sound (on/off) and stop (well, and full screen). Any chance to show up? It's usefull to turn on/off the light while on real time stream.

twrecked commented 2 years ago

I thought it did appear, I'll take a look.

platini76 commented 2 years ago

light for me are not working