This commit is contained in:
parent
388831abd4
commit
522cc7f1f9
@ -101,7 +101,7 @@ class Yamaha:
|
|||||||
r = self.request(Zone().get_status('main'))
|
r = self.request(Zone().get_status('main'))
|
||||||
|
|
||||||
self._client.publish('yamaha/stat/volume', r['volume'])
|
self._client.publish('yamaha/stat/volume', r['volume'])
|
||||||
self._client.publish('yamaha/stat/volume', r['max_volume'])
|
self._client.publish('yamaha/stat/volume/max', r['max_volume'])
|
||||||
|
|
||||||
@exception_handler
|
@exception_handler
|
||||||
def handle_power(self, client, userdata, msg):
|
def handle_power(self, client, userdata, msg):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user