Dominik

Results 34 comments of Dominik

Hi, I updated the PR. Please keep in mind that I haven't tested it yet, as I can't do that right now. Nevertheless, it would be great if you could...

Thanks for your reply. I created a PR with some updates. It would be great if you could release a new version to pip as well. Thx!

You might want to check this out to have some hints for the implementation: https://github.com/home-assistant-libs/pychromecast/blob/master/pychromecast/controllers/dashcast.py

Is this feature already implemented? I used pychromecast earlier which automatically sends updates if the status changes. Would be great if that could be done with device.on("status", ...);

It seems that reboot doesn't work at all with the new get_chromecast_from_service usage. Host is always None and therefore it can't connect to the device.

I found this one: https://developer.tuya.com/en/docs/cloud/device-data-statistic?id=Ka7g7nvnad1rm Unfortunately I don't know which service needs to be authorized to allow the usage. Currently I get code 1004 as result.

I added the following code before this line (https://github.com/tuya/tuya-iot-python-sdk/blob/83f1e999d75ef87b2170ffbbb239ca8651dab0c3/tuya_iot/device.py#L577): ``` def get_device_stats(self, device_id: str) -> dict[str, Any]: response = self.api.get(f"/v1.0/devices/{device_id}/statistics/hours") return response ``` Do I need to use a different...

@tsutsuku Can you please fix this to support Python 3.7 again? If you don't plan to fix it, update the Readme and remove Python 3.7 support please.

I tried in a venv with the following result ``` fhem@orangepione:~$ . venv_fhempy/bin/activate (venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade cryptography Collecting cryptography Using cached cryptography-38.0.1.tar.gz (599 kB) Installing build dependencies ......

Great to see that you are also interested in this functionality. I would just slightly adapt it: > ```python > from tinytuya import Products > > product_id = 'MShdslm9Uw7Q59nN' >...