From a3333949aee47b19bee7c27f062a5b22f6eb9da6 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 16 Dec 2019 09:01:13 +0100 Subject: [PATCH] change RegEx for devStateIcon roommate --- 73_AutoShuttersControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/73_AutoShuttersControl.pm b/73_AutoShuttersControl.pm index 5d68620..e88fbb8 100644 --- a/73_AutoShuttersControl.pm +++ b/73_AutoShuttersControl.pm @@ -4272,7 +4272,7 @@ sub DevStateIcon($) { elsif ( ReadingsVal( $name, 'state', undef ) =~ /.*asleep$/ ) { return '.*:scene_sleeping'; } - elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate.(come)?.(awoken|home)$/ ) + elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate(.come)?.(awoken|home)$/ ) { return '.*:user_available'; }