this post was submitted on 20 Mar 2024
8 points (83.3% liked)

Python

6233 readers
5 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/13397153

I'm just trying to control my smartlights with a script, it seems to be having a lot of problems, I really don't know what I'm doing, i'd appreciate any help I can get

Once I have a script that can individually turn lights on/off i can edit the rest myself, I just can't get the base functionality working.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Uriel_Copy@lemmy.world 5 points 6 months ago

I don't know the details, but I can tell you that you need to import Light from somewhere before you can instantiate it.