mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-02-20 03:11:26 +01:00
Fixes
This commit is contained in:
@@ -58,6 +58,9 @@ function onMessage(e) {
|
||||
case 'value':
|
||||
updateValue(data);
|
||||
break;
|
||||
case 'rgb':
|
||||
updateRGB(data.item_id, data);
|
||||
break;
|
||||
case 'error':
|
||||
showErrorMessage(data.message);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user