Skip to content

Commit

Permalink
fix: new precipitation sensor #3
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 29, 2024
1 parent 5e10bbb commit c867175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yerushamayim/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def native_unit_of_measurement(self):
@property
def native_value(self):
"""Return the forecast text."""
return float(self.coordinator.data.rain["precipitation"])
return float(self.coordinator.data.precipitation["precipitation"])

@property
def icon(self):
Expand Down

0 comments on commit c867175

Please sign in to comment.