StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
619 stars 111 forks source link

[BUG] Shelly Plus devices not showing all available values #641

Open yorickri opened 2 years ago

yorickri commented 2 years ago

Environment

Describe the bug

Not all available values coming via MQTT appear in Home Assistant. At least the temperature is not being shown as either a separate entity, or as an attribute of an entity.

The MQTT message does contain the temperature. For example:

{"id":0, "source":"init", "output":true, "apower":5.8, "voltage":220.4, "current":0.0, "aenergy":{"total":43.328,"by_minute":[109.236,109.772,109.772],"minute_ts":1641156419},"temperature":{"tC":45.0, "tF":112.9}}

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Additional context

vkcvkcvkc commented 2 years ago

Shelly Plus 1PM: Shelly Plus 1PM Shelly Plus 1PM - 2

Shelly 1PM: Shelly 1 PM