Skip to content

Commit

Permalink
fix: regression in wind sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Apr 16, 2024
1 parent 9038891 commit 58ac898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blebox_uniapi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __str__(self):
@SensorFactory.register("forwardActiveEnergy", unit="kWh")
@SensorFactory.register("illuminance", unit="lx", scale=100)
@SensorFactory.register("humidity", unit="percentage", scale=100)
@SensorFactory.register("wind", scale=10)
@SensorFactory.register("wind", unit="m/s", scale=10)
class GenericSensor(BaseSensor):
def __init__(
# base sensor params
Expand Down

0 comments on commit 58ac898

Please sign in to comment.