Skip to content

Instantly share code, notes, and snippets.

@AdamStrojek
Last active February 9, 2020 18:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamStrojek/4d7dbdea48f6e9e3efd8ca52b21c0864 to your computer and use it in GitHub Desktop.
Save AdamStrojek/4d7dbdea48f6e9e3efd8ca52b21c0864 to your computer and use it in GitHub Desktop.
This is temporary fix for TP-Link HS110 after firmware upgrade for Home Assistant. Just save this file to `custom_components/switch` folder in config folder and it will replace original component from Home Assistant. I have changed how requirements are provided so it will install current version of pyHS100 with required patches to work. No more …
@Toffi32
Copy link

Toffi32 commented Feb 7, 2020

Dear Adam,
that is what I was looking for. Unfortunately after copying the file in the the mentioned folder "switch" (which did not exist) nothing happend. My HS110 is still shown wihtout the sensors. Only the switch.
Is there anything to conifgure in "configurations.yaml"?

@Toffi32
Copy link

Toffi32 commented Feb 7, 2020

Dear Adam,
that is what I was looking for. Unfortunately after copying the file in the the mentioned folder "switch" (which did not exist) nothing happend. My HS110 is still shown wihtout the sensors. Only the switch.
Is there anything to conifgure in "configurations.yaml"?

I found out, the sensordata are available in the switch entity card:
grafik

But I can´t display them in the Lovelace UI. No sensors are found.

Is that normal behavior with your script?

@AdamStrojek
Copy link
Author

This script is for a very old version of HA, when there were problems with an old version of library. This was fast fix to overcome this problem and I suggest using integration in new versions of HA. I'm currently using it and there are no problems with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment