fix open + paused

This commit is contained in:
Sebastian
2022-04-07 14:49:23 +02:00
parent 5661ef3e59
commit cea5741fb8
2 changed files with 2 additions and 2 deletions

View File

@ -886,7 +886,7 @@ sub setState {
:
( ReadingsVal($name, 'scheduling-schedules_paused_until', '') eq '2038-01-18T00:00:00.000Z')
# pause bis dauerhaft
? RigReadingsValue($hash , 'permanently paused')
? sprintf( (RigReadingsValue($hash, 'watering. %s minutes remaining.').' '.RigReadingsValue($hash , 'permanently paused')), ReadingsVal( $name, 'watering-watering_timer_1_duration', 0 ))
# naechter termin
: sprintf( RigReadingsValue($hash , 'paused until %s'), RigReadingsValue($hash, ReadingsVal($name, 'scheduling-schedules_paused_until', '')) )