Hi, all
Is it possible to create sensor for frontend version?
For core this is possible configuring Version integration and than ussing sensor.current_version, but I can’t find anything about frontend.
Thanks in advance.
Well, there was no response.
Meanwhile, I created command_line sensor which works for me.
I have hass core in venv installation, and this is the code:
command_line:
- sensor:
name: homeassistant_frontend_version
unique_id: cmdline_homeassistant_frontend_version
command: "/srv/hass313/bin/pip list | grep home-assistant-frontend | awk -F' ' '{ print $2}'"
scan_interval: 86410
command_timeout: 60
