fix devStateIcon for roommate come home
This commit is contained in:
parent
11029985ee
commit
3f90155119
@ -4272,7 +4272,7 @@ sub DevStateIcon($) {
|
|||||||
elsif ( ReadingsVal( $name, 'state', undef ) =~ /.*asleep$/ ) {
|
elsif ( ReadingsVal( $name, 'state', undef ) =~ /.*asleep$/ ) {
|
||||||
return '.*:scene_sleeping';
|
return '.*:scene_sleeping';
|
||||||
}
|
}
|
||||||
elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate.(awoken|home)$/ )
|
elsif ( ReadingsVal( $name, 'state', undef ) =~ /^roommate.(come)?.(awoken|home)$/ )
|
||||||
{
|
{
|
||||||
return '.*:user_available';
|
return '.*:user_available';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user