Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/watts/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def _async_update_data(self) -> WattsVisionDeviceData:
)

try:
device = await self.client.get_device(self.device_id, refresh=True)
device = await self.client.get_device(self.device_id)
except (
WattsVisionAuthError,
WattsVisionConnectionError,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/watts/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"integration_type": "hub",
"iot_class": "cloud_polling",
"quality_scale": "platinum",
"requirements": ["visionpluspython==1.0.2"]
"requirements": ["visionpluspython==1.1.0"]
Comment thread
theobld-ww marked this conversation as resolved.
}
2 changes: 1 addition & 1 deletion requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/components/watts/snapshots/test_diagnostics.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'device_id': 'thermostat_123',
'device_name': 'Living Room Thermostat',
'device_type': 'thermostat',
'hvac_action': 'Idle',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
Expand All @@ -55,6 +56,7 @@
'device_id': 'thermostat_456',
'device_name': 'Bedroom Thermostat',
'device_type': 'thermostat',
'hvac_action': 'Idle',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
Expand Down Expand Up @@ -129,6 +131,7 @@
'device_id': 'thermostat_123',
'device_name': 'Living Room Thermostat',
'device_type': 'thermostat',
'hvac_action': 'Idle',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
Expand All @@ -149,6 +152,7 @@
'device_id': 'thermostat_456',
'device_name': 'Bedroom Thermostat',
'device_type': 'thermostat',
'hvac_action': 'Idle',
'interface': 'homeassistant.components.THERMOSTAT',
'is_online': True,
'max_allowed_temperature': 30.0,
Expand Down
2 changes: 1 addition & 1 deletion tests/components/watts/test_climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def test_fast_polling(
await hass.async_block_till_done()

assert mock_watts_client.get_device.called
mock_watts_client.get_device.assert_called_with("thermostat_123", refresh=True)
mock_watts_client.get_device.assert_called_with("thermostat_123")

# Should still be in fast polling after 55s
mock_watts_client.get_device.reset_mock()
Expand Down
2 changes: 1 addition & 1 deletion tests/components/watts/test_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def test_fast_polling(
await hass.async_block_till_done()

assert mock_watts_client.get_device.called
mock_watts_client.get_device.assert_called_with("switch_789", refresh=True)
mock_watts_client.get_device.assert_called_with("switch_789")

# Should still be in fast polling after 55s
mock_watts_client.get_device.reset_mock()
Expand Down
Loading