Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff dual tasmota flashed second relay not showing up in automation only. #34432

Closed
Eric-boop opened this issue Apr 19, 2020 · 16 comments
Closed
Labels

Comments

@Eric-boop
Copy link

Newbee here.

Home Assistant 0.108.6, Frontend version: 20200407.2 - latest, HassOS 3.13

Issue with a fresh install of HA. All was fine two versions ago and working fine.

Sonoff dual R2 flashed with tasmota 8.2.0

Using MQTT add-on. All devices are showing up just fine everywhere. I have two of these dual and the second switch/relay, of both dual is not showing as an option. Only the one relay is showing. UI has them and I an using them. They show up as a device in devices.

@Eric-boop
Copy link
Author

sorry, not showing up in automation as a device option.

@dshokouhi
Copy link
Member

Please make sure to fill out the issue template when you create a new issue, all requested information is important to help you out.

@Eric-boop
Copy link
Author

Sorry I really do not know how to do that.

@dshokouhi
Copy link
Member

@Eric-boop create a new issue, copy the template from there and use it in your original post.

@Eric-boop
Copy link
Author

Eric-boop commented Apr 19, 2020

All devices are showing up just fine everywhere but automation, scripts and scenes. I have two of these dual and the second switch/relay, of both dual is not showing as an option. Only the one relay is showing. UI has them and I an using them. They show up as a device in devices.

Home Assistant 0.108.6, Frontend version: 20200407.2 - latest, HassOS 3.13 on a Raspberry Pi4

  • Home Assistant Core release with the issue:
  • Last working Home Assistant Core release (if known):
  • Operating environment (Home Assistant/Supervised/Docker/venv):
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs: no errors

Additional information

@probot-home-assistant
Copy link

Hey there @home-assistant/core, @emontnemery, mind taking a look at this issue as its been labeled with a integration (mqtt) you are listed as a codeowner for? Thanks!

@Eric-boop
Copy link
Author

This is not a MQTT issue.

@dshokouhi
Copy link
Member

@Eric-boop i tried to assign this based on the template you provided, please make sure to fill out the template completely including the integration at fault so I can properly identify the issue.

@Eric-boop
Copy link
Author

Integration with MQTT works fine. All the devices are listed in Entities and in devices.
Screenshot_10

@dshokouhi
Copy link
Member

is this a frontend issue then? meaning the issue is only present in the UI?

@Eric-boop
Copy link
Author

This is the list in automation:
Screenshot_15

@emontnemery
Copy link
Contributor

@Eric-boop
The problem here is that Tasmota uses the name of the first relay as the name of the device.
It's the same in Tasmota's web UI, the first relay is the name of the device.

The automations are device oriented, you have devices with several entities.
Choose "AC circ 1" as device, then you will be able to choose automations for "AC circ 1" or "AC circ 2.

A simple solution is to rename the devices in HA frontend, for example from "AC circ 1" to "AC circ 1 & 2" for example.

@Eric-boop
Copy link
Author

The devices that are missing in the automation selection are present in Entities, Under developer>services and in the UI Lovelace. I can control them in the UI. And they were present in the automation previous HA versions.
Screenshot_16

@Eric-boop
Copy link
Author

@Eric-boop
The problem here is that Tasmota uses the name of the first relay as the name of the device.
It's the same in Tasmota's web UI, the first relay is the name of the device.

The automations are device oriented, you have devices with several entities.
Choose "AC circ 1" as device, then you will be able to choose automations for "AC circ 1" or "AC circ 2.

A simple solution is to rename the devices in HA frontend, for example from "AC circ 1" to "AC circ 1 & 2" for example.

I do have then named different as seen in the pictures. And in TasmoAdmin.
Screenshot_17

@dshokouhi
Copy link
Member

@Eric-boop he is saying to rename the device itself under configuration > devices. The automation you are using is device based and not entity based. Go to configuration > devices and find AC circ 1 and when you select that device youll see both entities. Then just rename the device itself, devices are separate for entities. If you look at the drop down selection earlier it says to "Device" and not "Entity". Entity selection comes after the device.

@Eric-boop
Copy link
Author

Yes, that worked! Thank you all for your patience. I will do better at filling out the form in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants