Skip to content

Instantly share code, notes, and snippets.

@blacklight
Created July 26, 2019 15:02
Show Gist options
  • Save blacklight/e33fe93e91d8a5ecba0fc7dda7d72946 to your computer and use it in GitHub Desktop.
Save blacklight/e33fe93e91d8a5ecba0fc7dda7d72946 to your computer and use it in GitHub Desktop.
[Medium] Platypush request example 2
from platypush.context import get_plugin
response = get_plugin('light.hue').on(groups=['Living Room', 'Bathroom'])
print(response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment