make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.41k stars 542 forks source link

Fix Afyeev 16A EV charger product ID and power sensor #2453

Closed pimpalaputty closed 2 weeks ago

pimpalaputty commented 2 weeks ago

With the recent update on tuya-local it was easy to include the product id. Thanks!

The power sensor wasn't working with the previous solution. It was 0 with a Phase A attribute with the actual sensor value from DP 6. DP 9 is probably some kind of aggregated power value for 3-phase chargers, but it is always 0 according to my experience with my 1-phase device, so I promoted DP6 power value to first level.