mapped all services to our new me.do. prop
This commit is contained in:
@ -4,9 +4,9 @@
|
||||
export let machineService;
|
||||
|
||||
const handleButton = () => {
|
||||
console.log('learn ready machine: ' + JSON.stringify(machineService));
|
||||
console.log('BOB machine service: ' + JSON.stringify(me.do.machine));
|
||||
console.log('Sending TOGGLE event to the machine');
|
||||
machineService.send('TOGGLE');
|
||||
me.do.machine.send('TOGGLE');
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user