ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
267 stars 34 forks source link

Switch entity not being created #96

Closed talondnb closed 2 years ago

talondnb commented 2 years ago

Hi!

I don't seem to have any switch entity being created, nor any logs showing any errors relating to the integration. Here's my config snippet:

# Monitor Docker
monitor_docker:
  - name: RemoteDocker
    url: !secret docker_remote
    containers:
      - mc
      - mcb

I've also tried with the 'switchenabled: true' statement but it made no difference. The monitoring sensors, however, do appear fine. Running 1.14 and Home Assistant 2022.3.6.

Any ideas?

talondnb commented 2 years ago

I found the issue to be my container names. I launch these through a stack and so they have prefix/suffix appended.