mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-06 16:27:18 +03:00
Add to initState
This commit is contained in:
@@ -83,6 +83,12 @@ class Device {
|
|||||||
value: false
|
value: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
case 'event': {
|
||||||
|
return {
|
||||||
|
instance: parameters.instance,
|
||||||
|
value: undefined
|
||||||
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
logger.log('error', {message: `Unsupported capability type: ${type}`});
|
logger.log('error', {message: `Unsupported capability type: ${type}`});
|
||||||
return undefined;
|
return undefined;
|
||||||
|
Reference in New Issue
Block a user