-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support sensor devices #5
Comments
Please support sensor devices |
2 similar comments
Please support sensor devices |
Please support sensor devices |
Hi @chaopeng @f021930c we have updated the integration and add sensor devices support, please check this file: https://github.com/tuya/tuya-home-assistant/blob/master/custom_components/tuya_v2/sensor.py |
Hi, How/when will the integration be update on Home Assistant? Can I import the .py file you linked myself, or must I wait for an official Tuya integration update in Home Assistant? Thank you! |
I've only being using home assistant a couple of weeks, so I just wondered how does this update to add sensors work? Does the Tuya Integration just update? Do I need to remove my temp sensors that are currently switches or do they just become sensors? Thanks |
@philhzss @BadgerJed You can install the integration by following the README |
@tsutsuku Thank you, I'm trying to do it with the README instructions, but now it seems my sensor devices don't show up (even though they show up in the cloud projects). My lights do show up though. Should I be installing the "master" branch into HACS? Because the latest release v1.1 is 15 days ago and I'm not sure you had added sensor support by then? |
Oh, I got it working! I had to install "tuyav2" from HACS. It says that it's 213C, I suppose thats 21.3C. (I opened a new issue for this for clarity) |
Did you have to remove the whole original integration first before installing the V2 version? Also i can find tuyav2 in HACS only tuya. Update: Ok so through trial and error, I realised I did need to remove the version of Tuya I had installed through the home assistant integration option. I then downloaded the V2 zip file, extracted it and placed it in custom componets as specifed. I could then find it through the intergations option. But following the instructions I appear to need to subsribe to a Tuya cloud development plan to get it working, I had not done this for the first version, I only had options for user id, password and country code not all the extra credentials I can see now.. Am I missing something? |
Im not sure about removing the old version, I accidentally corrupted my entire RaspberryPi last week so I had to delete everything and start from scratch. I already have a Tuya dev account for another project I did a few months back.. it says "trial" so I hope this never expires?? Im not sure. But yeah I had to create a new project like the readme says and get an access ID and password from there |
@BadgerJed It's home assistant core launch command. you can also read |
Using the latest version of the Tuya Home Assistant Integration v2 from this github repo, you don't need to remove the old version, they can be installed simultaneously. For the "trial" version of the Tuya cloud project, you can renew it for free next year. |
The text was updated successfully, but these errors were encountered: