Controlling multiple entities in homeassistant


#1
  • Homeassistant Skill
  • Mycroft Mk1

I now have multiple smart bulbs configured in homeassistant, and I’m trying to figure out how to shut off or turn on all of them at the same time.
I’ve got a group called “Kitchen” in Home-Assistant but when I tell mycroft “turn on kitchen” it responds that it can’t find the entity. Where can I find the logs to further troubleshoot?


#2

Hi there,

The logs for Skills are located in /var/log/mycroft/skills.log.

You’ll also want to set the logging level to debug to get more in-depth logs. The easiest way to do this is from the CLI type:
:log level debug
Then when you’re finished you can return to normal logging by typing:
:log level info
Note the : tells the CLI that this is a system command rather than an utterance.


#3

Your setup may very but here is what works for me. In the configuration.yaml I have a section:

group:
  The_Lights:
    name: "The Lights"
    entities:
      - switch.wp3_4
      - light.merkury_2
      - switch.wp_3

This enables me to turn on 3 different switches by saying “Hey Jarvis, Turn the lights on”. Hope it helps.