Skip to content

Commit

Permalink
fix: RTX ZVG1 water_consumed unit (l -> L) (#5897)
Browse files Browse the repository at this point in the history
It seems more standard to expose liters with `L` rather than `l`.
I only found a single other example (giex valve) in this codebase, however international standard is `L` (and I suspect home assistant requires it to really consider water sensor to be used in energy dashboard).
  • Loading branch information
kamaradclimber authored Jun 19, 2023
1 parent 27357cd commit d2dba53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/rtx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const definitions: Definition[] = [
.withDescription('Auto off timer time left'),
e.numeric('last_valve_open_duration', ea.STATE).withUnit('min')
.withDescription('Time the valve was open when state on'),
e.numeric('water_consumed', ea.STATE).withUnit('l')
e.numeric('water_consumed', ea.STATE).withUnit('L')
.withDescription('Liters of water consumed'),
e.text('cycle_timer_1', ea.STATE_SET).withDescription('Format 08:00 / 20:00 / 15 / 60 / MoTuWeThFrSaSu / 1 (' +
'08:00 = start time ' +
Expand Down

0 comments on commit d2dba53

Please sign in to comment.