vanackej / risco-mqtt-local

Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
MIT License
24 stars 11 forks source link

Restarting Home Assistant while Risco active causes sensors and switches to have 'unknown' state. #31

Closed markxroberts closed 2 years ago

markxroberts commented 2 years ago

Describe the bug If risco-mqtt-local is running and Home Assistant is restarted, sensors and switches have 'unknown' state

Configuration

ob1w4nken0b1 commented 2 years ago

Hi!

I'd really love the addon to be subscribed to homeassistant/status topic and then automatically populate sensor's state on HA restart...just like zigbee2mqtt does

Is this possible?

Thx for the great work

vanackej commented 2 years ago

Yes I agree. That's exactly what I suggested in #32. @markxroberts do you think you could try do do it ?

markxroberts commented 2 years ago

I’ll have a go. Might take a while, though!

On 11 Apr 2022, at 20:52, Johann Vanackere @.***> wrote:

Yes I agree. That's exactly what I suggested in #32 https://github.com/vanackej/risco-mqtt-local/pull/32. @markxroberts https://github.com/markxroberts do you think you could try do do it ?

— Reply to this email directly, view it on GitHub https://github.com/vanackej/risco-mqtt-local/issues/31#issuecomment-1095499026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2J4VZ6QZKIZKYWLKWCQS3VER7GHANCNFSM5SM4SVPA. You are receiving this because you were mentioned.

markxroberts commented 2 years ago

I've had a go at fixing this.

vanackej commented 2 years ago

Available in 0.4.2, thx