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

Implement MQTT availability topic for HomeAssistant #280

Closed
xoseperez opened this issue Nov 15, 2017 · 5 comments
Closed

Implement MQTT availability topic for HomeAssistant #280

xoseperez opened this issue Nov 15, 2017 · 5 comments
Labels
enhancement New feature or request minor mqtt

Comments

@xoseperez
Copy link
Owner

Originally reported by: Vishal Chaudhary (Bitbucket: vishix, GitHub: vishix)


By implementing lastwill messages espurna will be more accurate about the availability of the switches/ sonoffs

@xoseperez
Copy link
Owner Author

In the dev branch, will be released with next version.

@xoseperez
Copy link
Owner Author

Original comment by Marc Rodriguez-Estivill (Bitbucket: mrestivill, GitHub: Unknown):


Can be used with the following configuration:

#!yml

  - platform: mqtt
    ...
    availability_topic: "/xxx/xxx/status"
    payload_available: 1
    payload_not_available: 0

@xoseperez
Copy link
Owner Author

Using the auto-discover feature will (should) automatically populate this field as well.

@xoseperez
Copy link
Owner Author

Released with 1.10.0

@xoseperez
Copy link
Owner Author

Removing milestone: 1.9.10 (automated comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor mqtt
Projects
None yet
Development

No branches or pull requests

1 participant