Skip to content

Set Brightness Command Requiring 2 Runs #390

Answered by rytilahti
griffinburkhardt asked this question in Q&A
Discussion options

You must be logged in to vote

Are you sure it is not changing the brightness? Regarding to to reported values, you need to perform an update() to obtain the new values after the change as information returned by properties is cached (see https://python-kasa.readthedocs.io/en/latest/smartdevice.html#smartdevice-class and https://python-kasa.readthedocs.io/en/latest/design.html#update-cycle).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@griffinburkhardt
Comment options

@rytilahti
Comment options

@griffinburkhardt
Comment options

Answer selected by griffinburkhardt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants