Fixed mmWave
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* MIT License
|
* MIT License
|
||||||
* Copyright 2022 Jonathan Bradshaw (jb@nrgup.net)
|
* Copyright 2022 Joshua Glemza
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -194,7 +194,7 @@ void parseState(final Map message) {
|
|||||||
updateAttribute('illuminance', message.state as Integer, 'lx')
|
updateAttribute('illuminance', message.state as Integer, 'lx')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case state.entities['mmwave']:
|
case state.entities['mmwave_switch']:
|
||||||
// Millimeter wave radar sensor
|
// Millimeter wave radar sensor
|
||||||
if (message.hasState) {
|
if (message.hasState) {
|
||||||
updateAttribute('mmwave', message.state ? 'active' : 'inactive')
|
updateAttribute('mmwave', message.state ? 'active' : 'inactive')
|
||||||
|
Reference in New Issue
Block a user