Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Light Switch in horizontal stack

$
0
0

@proutska wrote:

Hi,

I’m switching from OpenHAB to Home Assistant and I’m still in the learning mode.

I’m using an Axis A9188 relay card and added the Light Switch configuration below.

light:
  - platform: switch
    name: Christmas Tree Lights
    entity_id: switch.a9188_0_relay_1

With this I can add a Light card to Lovelace. But when I try to add a horizontal stack I get an error: Specify an entity from within the light domain.

My horizontal stack configuration looks like:

cards:
  - entity: switch.a9188_0_relay_1
    type: light
  - entity: switch.a9188_0_relay_2
    type: entity-button
  - entity: switch.a9188_0_relay_3
    type: entity-button
title: licht
type: horizontal-stack

Am I doing someting wrong or do I need to create a Template Light?

Sander

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>