Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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.

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