New Docker Setup

Been running on a raspberrypi for over a year without issue. Bought a new raspberrypi to run pihole but decided to setup docker and run everything there instead. Plus a power surge had blown the network port on the original pi.

Home Assistant came up, Added the TPLink switches, but they never show up. So I added a Nest thermostat to test, it show up right away.

I can ping the switches from the container console. So I am posting my config here in hopes that someone can tell me what I am missing.

homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets

# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0

# metric for Metric, imperial for Imperial
unit_system: imperial

# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Chicago

 # Customization file
 customize: !include customize.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Show the introduction message on startup.
introduction:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123
# Sensors
   sensor:

# Weather prediction
 - platform: yr

# Text to speech
tts:
 - platform: google

#nest:

switch:
  - platform: tplink
    host: 192.168.25.63
    name: Living Room
  - platform: tplink
    host: 192.168.25.45
    name: Car Port
    host: 192.168.25.45
   - platform: tplink
     host: 192.168.25.36
     name: Front Porch

 group: !include groups.yaml
 automation: !include automations.yaml
 script: !include scripts.yaml
 #switch: !include switch.yaml
 #switch: !include includes/switch.yaml

Might want to remove lat/lon and Nest credentials from the post and/or get new credentials unless those aren’t your real ones.

I don’t really see anything that is obviously wrong. Is there anything printed in the logs? You may have to increase the verbosity.

I do believe “name” was removed as a valid config entry for tplink in the 0.89 beta, but if you’re on stable 0.88 then I’m not sure.

The indenting is incorrect on the 3rd switch. I would also remove the name and instead move the naming to customize.yaml

You should remove the Nest credentials from post as well!!!

Thank everyone. The post has been edited for formatting error and to remove self identifying information.

I removed the name label from the switch, though it was working fine on the old system, still no go.

The only other thing I thought of was that I am not using the default pi user on the device. I created another user and installed under that user.