I’m triying to use the command_line swith integration but failed every time.
Here’s my configuration.yaml file.
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
command_line:
- switch:
name: Home Assistant System Shutdown
command_off: "/usr/sbin/poweroff"
After a system reload, i recibe the same error.
Logger: homeassistant.setup
Source: setup.py:252
First occurred: 20:00:51 (1 occurrences)
Last logged: 20:00:51
Setup failed for command_line: No setup or config entry setup function defined.
What i’m doing wrong?