Skip to content

Commit

Permalink
Update pydrawise to 2024.6.4 (#119868)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskistler authored and frenck committed Jun 21, 2024
1 parent e62268d commit febcb33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/hydrawise/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/hydrawise",
"iot_class": "cloud_polling",
"loggers": ["pydrawise"],
"requirements": ["pydrawise==2024.6.3"]
"requirements": ["pydrawise==2024.6.4"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/hydrawise/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _get_zone_daily_active_water_use(sensor: HydrawiseSensor) -> float:
return float(daily_water_summary.active_use_by_zone_id.get(sensor.zone.id, 0.0))


def _get_controller_daily_active_water_use(sensor: HydrawiseSensor) -> float:
def _get_controller_daily_active_water_use(sensor: HydrawiseSensor) -> float | None:
"""Get active water use for the controller."""
daily_water_summary = sensor.coordinator.data.daily_water_use[sensor.controller.id]
return daily_water_summary.total_active_use
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@ pydiscovergy==3.0.1
pydoods==1.0.2

# homeassistant.components.hydrawise
pydrawise==2024.6.3
pydrawise==2024.6.4

# homeassistant.components.android_ip_webcam
pydroid-ipcam==2.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ pydexcom==0.2.3
pydiscovergy==3.0.1

# homeassistant.components.hydrawise
pydrawise==2024.6.3
pydrawise==2024.6.4

# homeassistant.components.android_ip_webcam
pydroid-ipcam==2.0.0
Expand Down

0 comments on commit febcb33

Please sign in to comment.