Add version and device type to powerwall device_info (#33453)

* Add version and device type to powerwall device_info

* Upstream powerwall now supports a http_session
This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-03-31 12:55:50 -07:00
1 parent b88f56cbfb
commit e6ed2f0377
13 files changed
+95 -31

No files matched your search

+2 -1
View File
@@ -27,7 +27,8 @@ async def test_sensors(hass):
identifiers={("powerwall", "Wom Energy_60Hz_240V_s_IEEE1547a_2014_13.5")},
connections=set(),
)
assert reg_device.model == "PowerWall 2"
assert reg_device.model == "PowerWall 2 (hec)"
assert reg_device.sw_version == "1.45.1"
assert reg_device.manufacturer == "Tesla"
assert reg_device.name == "MySite"