Light switches won't work.
Closed this issue · 5 comments
mutlucan96 commented
Switches work just fine. Light toggles are also detected but nothing happens when I click them.
geoph9 commented
Hi @mutlucan96 and thanks for opening this issue!. Could you provide some extra info?
- Which gnome version are you using (can be checked with
gnome-shell --version
? - Which version of this extension are you using (run
gnome-extensions info hass-gshell@geoph9-on-github
)? - OS?
mutlucan96 commented
Sure! Here it is:
mutlu@mutlu-ubuntu:~$ gnome-shell --version
GNOME Shell 40.5
mutlu@mutlu-ubuntu:~$ gnome-extensions info hass-gshell@geoph9-on-github
hass-gshell@geoph9-on-github
Name: Home Assistant Extension
Description: A simple gnome shell extension for Home Assistant. Check the README on github for additional help!
Main points:
- You need to provide the url of your hass, a long live access token obtained from your profile page (on your hass web instance) and the entity ids of the entities you want to have as togglable.
- In order to add some local temperature/humidity sensor, you may also provide a temperature and/or a humidity entity id (which should match the corresponding ids of your hass instance).
Path: /home/mutlu/.local/share/gnome-shell/extensions/hass-gshell@geoph9-on-github
URL: https://github.com/geoph9/hass-gshell-extension
Version: 5
State: ENABLED
geoph9 commented
Thanks! I may have already fixed this bug but forgot to upload the change on extensions.gnome.org
. Could you run the following commands to install from github and see if it works?
# Delete the previous extension directory
rm -rf "$HOME"/.local/share/gnome-shell/extensions/hass-gshell@geoph9-on-github
# Download build script and give execution rights
wget https://raw.githubusercontent.com/geoph9/hass-gshell-extension/master/build.sh && chmod +x build.sh
# Run build
./build.sh
# Delete build script
rm ./build.sh
The build script simply downloads the needed files for this extension and installs them to the correct directory.
mutlucan96 commented
It works with that script now. Thanks!
geoph9 commented
I uploaded the new version on e.g.o. Thanks for bringing up this issue!