xZetsubou / hass-localtuya

🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
https://xzetsubou.github.io/hass-localtuya/
GNU General Public License v3.0
366 stars 41 forks source link

[feature request]: packet arrival time #307

Closed 50494554524F closed 2 months ago

50494554524F commented 2 months ago

LocalTuya Version

2024.6

Home Assistant Version

2024.6

Environment

What happened?

passive devices sends packets every xxx minutes, the value could remain the same for hours... so we don't know if the device is updating or not

is it possible you to update last_updated or last_changed of the entity on packet arrival?!

thanks

Steps to reproduce.

-

Relevant log output

-

Diagnostics information.

-

xZetsubou commented 2 months ago

This is out of my control, Yes we can trick Home Assistant but we won't do it since this is how "Home Assistant" works you may try to give events a shot if you want to make an automations.