Skip to content

Commit

Permalink
vinscant: only blink one light bulb instead of the whole kelder
Browse files Browse the repository at this point in the history
  • Loading branch information
Reavershark committed Oct 17, 2024
1 parent b7b640b commit 0ad696e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vinscant/mpfiles/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def __init__(self, name="vinscant", host="koin", port="1883") -> None:
self.client.connect()

def blink(self):
topic = 'zigbee2mqtt/lights/set'
payload = '{"effect": "blink"}'
topic = 'zigbee2mqtt/bulb_0_0/set'
payload = '{"effect": "okay"}'
self.client.publish(bytes(topic, 'utf-8'), bytes(payload, 'utf-8'))

def close(self):
Expand Down

0 comments on commit 0ad696e

Please sign in to comment.