Change wizard
Change the condition:
LowBatteryCheck addRegexpPart
 
Change the executed command:
 LowBatteryCheck .*[Bb]attery:.* set


LowBatteryCheck
Internals
DEF
.*[Bb]attery:.* { if("$EVENT" !~ m/ok/) { 
  my $Msg="Batteriewarnung ".AttrVal($NAME,"alias",$NAME); 
  fhem "set MQTT_Client publish KHS59/SendEMail {\"ts\":\"".FmtDateTime(time())."\",\"Subject\":\"".$Msg."\"}";
  Log 3, $Msg; 
} }
FUUID
6932b166-f33f-45a2-a8c4-7da330ecf4afc655
NAME
LowBatteryCheck
NR
356
NTFY_ORDER
50-LowBatteryCheck
REGEXP
.*[Bb]attery:.*
STATE
2025-12-05 11:23:02
TRIGGERTIME
1764930182.62606
TYPE
Readings
state
active
2025-12-05 11:18:14
triggeredByDev
CUL_HM_HM_CC_RT_DN_2555F0
2025-12-05 11:23:02
triggeredByEvent
battery: ok
2025-12-05 11:23:02
LowBatteryCheck
Attributes
room
Probably associated with
opened