geoph9 / hass-gshell-extension

A simple gnome shell extension for home assistant.
https://extensions.gnome.org/extension/4170/home-assistant-extension/
69 stars 17 forks source link

GSettings key hass-enabled-sensor-ids not found in schema org.gnome.shell.extensions.hass-data #32

Closed davefx closed 2 years ago

davefx commented 2 years ago

When trying to activate extension in Gnome 42 in Ubuntu 22.04 I'm getting this error:


GSettings key hass-enabled-sensor-ids not found in schema org.gnome.shell.extensions.hass-data
geoph9 commented 2 years ago

Hi,

Thanks for creating this issue! Last time I updated the extension on e.g.o. I accidentally uploaded a wrong schema. I submitted the corrected one for review and it should work after it gets accepted.

A quick way around it is to compile the current schema: glib-compile-schemas $HOME/.local/share/gnome-shell/extensions/hass-gshell@geoph9-on-github. But this won't be needed after the update gets reviewed.

geoph9 commented 2 years ago

I am closing this since the above fix worked on my tests. Feel free to re-open if the issue persists.