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

Override HA autodiscovery switch => light #1784

Closed
pascalsaul opened this issue Feb 4, 2018 · 4 comments
Closed

Override HA autodiscovery switch => light #1784

pascalsaul opened this issue Feb 4, 2018 · 4 comments
Labels
enhancement Type - Enhancement that will be worked on stale Action - Issue left behind - Used by the BOT to call for attention

Comments

@pascalsaul
Copy link

pascalsaul commented Feb 4, 2018

ha/switch/basic_woonkamer_bank/config {"name":"basic_woonkamer_bank","command_topic":"cmnd/basic_woonkamer_bank/POWER","state_topic":"stat/basic_woonkamer_bank/RESULT","value_template":"{{value_json.POWER}}","payload_off":"0","payload_on":"1","availability_topic":"tele/basic_woonkamer_bank/LWT","payload_available":"Online","payload_not_available":"Offline"}

Is it possbile to create an option to override 'switch' to 'light' with the autodiscovery so it will be recognized in the 'Light' group and not in 'Switch' group?

@emontnemery
Copy link
Contributor

'Light' will be used for pwm dimmer when setoption15 is 1, otherwise 'switch'

@stale
Copy link

stale bot commented Jun 6, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 6, 2018
@stale
Copy link

stale bot commented Jun 21, 2018

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

@stale stale bot closed this as completed Jun 21, 2018
@francescomapelli
Copy link

+1 for autodiscovery with light instead of switch.
I have dozen of sonoff in the walls of my house and they control the lights so it would be very nice to have them recoglized in the light group

@arendst arendst added the enhancement Type - Enhancement that will be worked on label Jun 29, 2018
arendst added a commit that referenced this issue Jun 29, 2018
Add command SetOption30 to enforce Hass discovery as light group (#1784)
curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 7, 2018
Add command SetOption30 to enforce Hass discovery as light group (arendst#1784)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type - Enhancement that will be worked on stale Action - Issue left behind - Used by the BOT to call for attention
Projects
None yet
Development

No branches or pull requests

4 participants