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

Support sending tele/STATUS as state/RESULT #4450

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

emontnemery
Copy link
Contributor

@emontnemery emontnemery commented Nov 25, 2018

Improve Hass support by sending tele/STATUS as state/RESULT.
This make sure Hass state is synchronized with the Sonoffs after Hass restart.
See also: home-assistant/core#18703

The option will be automatically enabled if hass discovery is enabled.

@emontnemery emontnemery changed the title Support sending tele/STATUS as state/RESULT Work in progress - Support sending tele/STATUS as state/RESULT Nov 25, 2018
@emontnemery emontnemery changed the title Work in progress - Support sending tele/STATUS as state/RESULT WIP - Support sending tele/STATUS as state/RESULT Nov 25, 2018
@emontnemery
Copy link
Contributor Author

@hhaim Please comment if this solves your issue in home-assistant/core#18703
@arendst , @ascillato Do you think this is the right approach? The root issue is that Hass only allows one topic for state updates.

@arendst arendst merged commit eb851a9 into arendst:development Nov 26, 2018
@emontnemery emontnemery changed the title WIP - Support sending tele/STATUS as state/RESULT Support sending tele/STATUS as state/RESULT Nov 26, 2018
arendst added a commit that referenced this pull request Nov 26, 2018
6.3.0.13 20181126
 * Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (#4450)
@hhaim
Copy link

hhaim commented Nov 26, 2018

@emontnemery, this will solve my issue. thanks for the quick fix

@emontnemery emontnemery deleted the hass_send_tele branch December 2, 2018 19:45
gemu2015 pushed a commit to gemu2015/Sonoff-Tasmota that referenced this pull request Jan 27, 2019
WIP - Support sending tele/STATUS as state/RESULT
gemu2015 pushed a commit to gemu2015/Sonoff-Tasmota that referenced this pull request Jan 27, 2019
6.3.0.13 20181126
 * Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (arendst#4450)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants