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

Help needed with moving scenes from configuration.yaml to scenes.yaml

$
0
0

@bedfellow wrote:

I have the following scenes in configuration.yaml and I would like to move them to scenes.yaml:

scene:
input_boolean:
  boost:
    name: Boost
    icon: mdi:thermometer
  
  zigbee_permit_join: #zigbee2mqtt
    name: Allow devices to join
    initial: off
    icon: mdi:cellphone-wireless

I have moved them and added scene: !include scenes.yaml to configuration.yaml, but get the following error when I check the configuration:

Configuration invalid
Invalid config for [scene]: required key not provided @ data['states'][0]['entities']. Got None
required key not provided @ data['states'][0]['name']. Got None. (See /config/configuration.yaml, line 20). 

My scenes.yaml looks like:

input_boolean:
  boost:
    name: Boost
    icon: mdi:thermometer
  
  zigbee_permit_join: #zigbee2mqtt
    name: Allow devices to join
    initial: off
    icon: mdi:cellphone-wireless

What am I doing wrong?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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