Comments (1)
For anyone else having this issue, here's the answer: Color_Map is a dictionary, as such it need to be passed through like
light.command("main", "colorControl", "setColor", [{"key": "value"}])
where key = the thing you want to manipulate and value = what you want to set the key to.
Here is a list of all the Key/Value pairs (which is also left out of the official documentation, thanks Samsung!)
{"hue": number 1-100}
{"saturation": number 1-100}
{"hex": "#RRGGBB"}
{"level": number} (no idea what this does)
{"switch":"on/off"} (no idea what this does and it's not what you think it does)
(Must ALWAYS include the Hue and Saturation keys)
from pysmartthings.
Related Issues (20)
- Syntax error when calling installedapp.py HOT 1
- FR: Add "TvChannelName" retrieval HOT 1
- Device status values not updating HOT 3
- error 409 conflict when doing any capabilities. HOT 1
- [Feature Request] Device Components HOT 19
- setColor arguments not working HOT 4
- Client Response Error When Controlling Color on a Bulb HOT 1
- Location API issues? HOT 1
- SyntaxError: 'async with' outside async function
- Command Documentation to launch YoutubeTV app HOT 5
- Example for Subsription HOT 6
- Smart Oven Cooktop Sensors HOT 21
- Support for windowShadeLevel capability
- Release current master HOT 3
- Anyone have a complete example for setting a lock code?
- Feature request: is it possible to retrieve profiles?
- On status change feature request
- AttributeError: 'MockResponse' object has no attribute 'wait_for_close'
- Warnings after upgrade to HA 2024.1.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysmartthings.