delfick / photons

Python3.6+ asyncio framework for interacting with LIFX devices
https://photons.delfick.com
MIT License
73 stars 6 forks source link

[helpers] add as_dict() method to hp.Firmware #112

Closed Djelibeybi closed 2 years ago

Djelibeybi commented 2 years ago

Because sometimes you really need an old fashioned, down-to-earth, no-nonsense dict.

Signed-off-by: Avi Miller me@dje.li

delfick commented 2 years ago

do you need a photons release with this?

Djelibeybi commented 2 years ago

Nope. As some point (hopefully soon), I'll be opening a draft PR for photons_lib which one could think of as Photons in asyncio IoT library drag, i.e. it presents as a library that knows about Discovery and Lights (of various kind).

This is part of that, but I don't want to make that PR even more complex by including files outside photons_lib.