Can only see group of switches and not individual switch

I have been assiduously following the tutorials on youtube and I think I am almost at the point of getting my sonoff basic switch connected. Unfortunately, when I go into the gui I can only see a group for the switch. I cannot see an individual light, status or anything else.
My config is below:

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

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

# Text to speech
tts:
  - platform: google_translate

#group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

switch:
  - platform: mqtt
    name: "sonoff1"
    state_topic: "stat/sonoff1/POWER"
    command_topic: "cmnd/sonoff1/POWER"
    availability_topic: "tele/sonoff1/LWT"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    payload_available: "Online"
    payload_not_available: "Offline"
    retain: "false"

My GUI page looks like this. The only option relating to the switch is the group. There is nothing else.
image

Probably because you are looking at badges only.

A switch isn’t a badge. It’s a switch

Thanks for the response. How do I add a switch to the GUI. It is not an option in any pull-down I have seen.

3 dot menu.

Configure UI.

hit the PLUS button on lower right corner.

Add a card. When you add that card, you should see the switch in the dropdown.

I must seem nuts but I don’t have a plus button on the bottom right. Only one right next to Home that says “add view”.

If you don’t see the PLUS button in lower right, you might be blocking javascript?

Crazy. I tried a different computer and chrome and firefox. All the same. nothing in the bottom right.

I can see it now. The screen was in panel mode. It covers up the “+”.

When I go to entities “card configuration” the only things I see are Updater, All Switches, my name, Sun and Home.

And you restarted home assistant after adding the configuration into the yaml?

yep, a bunch of times. I just SSH and reboot to make sure I restarted the whole damn thing.

So you need to go to the developer tools/states page and see if your switch shows up at all there.

they are not there.

Did you install the MQTT add-on or do you have MQTT broker running somewhere on your network that you’ve configured through the GUI?

Probably your problem then!

1 Like

I installed the add-on.