Use upstream device information for Plugwise (#66074)
This commit is contained in:
parent
199c8fef40
commit
4efebcb86c
7 changed files with 70 additions and 118 deletions
|
@ -17,7 +17,7 @@ async def test_adam_climate_sensor_entities(hass, mock_smile_adam):
|
|||
state = hass.states.get("sensor.cv_pomp_electricity_consumed")
|
||||
assert float(state.state) == 35.6
|
||||
|
||||
state = hass.states.get("sensor.auxiliary_water_temperature")
|
||||
state = hass.states.get("sensor.onoff_water_temperature")
|
||||
assert float(state.state) == 70.0
|
||||
|
||||
state = hass.states.get("sensor.cv_pomp_electricity_consumed_interval")
|
||||
|
@ -36,10 +36,10 @@ async def test_anna_as_smt_climate_sensor_entities(hass, mock_smile_anna):
|
|||
entry = await async_init_integration(hass, mock_smile_anna)
|
||||
assert entry.state is ConfigEntryState.LOADED
|
||||
|
||||
state = hass.states.get("sensor.auxiliary_outdoor_temperature")
|
||||
state = hass.states.get("sensor.opentherm_outdoor_temperature")
|
||||
assert float(state.state) == 3.0
|
||||
|
||||
state = hass.states.get("sensor.auxiliary_water_temperature")
|
||||
state = hass.states.get("sensor.opentherm_water_temperature")
|
||||
assert float(state.state) == 29.1
|
||||
|
||||
state = hass.states.get("sensor.anna_illuminance")
|
||||
|
@ -52,7 +52,7 @@ async def test_anna_climate_sensor_entities(hass, mock_smile_anna):
|
|||
entry = await async_init_integration(hass, mock_smile_anna)
|
||||
assert entry.state is ConfigEntryState.LOADED
|
||||
|
||||
state = hass.states.get("sensor.auxiliary_outdoor_temperature")
|
||||
state = hass.states.get("sensor.opentherm_outdoor_temperature")
|
||||
assert float(state.state) == 3.0
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue