My Switch does not show in my overview section

I flashed my sonoff basic with tasmota and configured it. I configured my own mosquitto mqtt broker and I am NOT using the hass.io mqtt addon. So far I have two switches in the config yaml file. Only my Ceiling Lights are listed. I would like all of my switches to show on the overview section of HA. I am new to HA and I am not sure what I should do to list my switches. I checked my tasmota console section for an mqtt connection and it shows that it’s connected.

config file:

mqtt:
  broker: 192.168.0.16
  username: ******
  password: *******

switch:
  - platform: mqtt
    name: "Rich Ceiling Lights"
    command_topic: "cmnd/richceilinglights/power"
    state_topic: "stat/richceilinglights/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"

  - platform: mqtt
    name: "Rich Oscillating Fan"
    command_topic: "cmnd/richoscfan/power"
    state_topic: "stat/richoscfan/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"

Lovelace or states UI?

Does the other switch show up in the dev-states page?

I am using Lovelace. Where is the dev-states located?

same place as it was prior to lovelace

1 Like

if it shows up in the dev-states page then you will probably just need to add it to the front end as a badge or in an entity card of some sort.

1 Like

@petro Thank You, I found it :slight_smile:

@finity

I noticed the following in group.all_switches:

{
  "entity_id": [
    "switch.rich_ceiling_lights",
    "switch.rich_oscillating_fan"
  ],
  "order": 0,
  "auto": true,
  "friendly_name": "all switches",
  "hidden": true
}
1 Like

So are you still trying to show them all in the UI? Have you watched the lovelace videos yet?

@petro Yes, I am still trying to list all of my current/future switches and sensors. No, I havent watched any HA videos. I will definetly check out the videos and docs.

Yeah, checkout the video. It’s a short one and it will show you how to add your devices to the UI. Once you see the video it will all be clear.

1 Like

I was able to add my missing switch. Super simple to do :slight_smile:

1 Like

Hey guys. I have not been able to find my missing Sonoff Switch. As above it is in Dev-states under Group All Switches only

entity_id: switch.sonoff_desk
order: 1
auto: true
friendly_name: all switches
hidden: true

I cannot see the individual switch
switch:
platform: mqtt
name: “sonoff_Desk”
state_topic: “stat/sonoff_Desk/RESULT”
value_template: “{{ value_json.POWER }}”
command_topic: “cmnd/sonoff_Desk/POWER”
availability_topic: “tele/sonoff_Desk/LWT”
qos: 1
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
retain: false

I have watched the Lovelace Video however sadly I tried the UI and cannot work out how to add it in UI

Please help as I have been on this for days now
cheers

I’m not sure how to help you. The video literally shows you the add button and the buttons you press to add the items to the UI. The only button it doesn’t show you to click is the giant round plus button in the lower right corner…

Hi Petro
Yes I understand your comments. I thought this is the save I had been looking for, however that was not to be. I followed everything as per the video which was very good and very clear. I am not sure what else to do either. Thanks for your comments. will keep looking for solution

One of the problems, is that the Sonoff Switch does not show up in the Light of available Entities. The only reference at all to the sonoff Switch is that it is part of the “Group All Switches”.
When i created a switch using the UI and put it on the Overview, it did not work or it did not do anything. Maybe there is another issue that I am missing?
Anyway thanks again for your comments. Regards

Have you tried looking for it under “switch.”?

Yes @finity I have looked under Switch and there is no switches showing at all, Very confused and stumped