Skip to content

Commit

Permalink
stas-demydiuk#644 Update pressure forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
stas-demydiuk committed Jun 9, 2021
1 parent e5b2033 commit 1c93266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/temperature_humidity_barometer_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_string_value(self, value, device):
def get_forecast(self, value):
# Forecast is based on https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/102

if (value < 996):
if (value < 966):
return 4 # Rain
elif (value < 993):
return 3 # Cloudy
Expand Down

0 comments on commit 1c93266

Please sign in to comment.