根据home assistant文档, 使用command line switch组件添加了一个TV的开关.https://www.home-assistant....
Welcome to the Home Assistant command line. System information IPv4 addresses for enp0s3: 127.0.0.1/24 IPv6 addresses for enp0s3: fe80::494d:126b:afb:d3a7/64 OS Version: Home Assistant OS 9.5 Home Assistant Core: 2023.2.5 Home Assistant URL: http://homeassistant.local:8123 Observer URL...
2024-06-18 21:54:57.361 ERROR (MainThread) [homeassistant.components.command_line] Command failed: /config/hid/hidusb-relay-cmd on 8 Example YAML snippet command_line: -switch:name:"8ch_relay01"command_on:'/config/hid/hidusb-relay-cmd on 8'command_off:'/config/hid/hidusb-relay-cmd of...
24-02-22 07:06:50 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.2.2: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.2.2/json: Not Found ("No su...
#把当前用户加入 docker 用户组 sudo usermod -a -G docker 用户名 #重启 docker 服务 sudo systemctl restart docker 三、安装home assistant 2、安装portainer容器管理图形界面 portainer安装可选,方便操作 贴下命令: #拉取最新镜像 docker pull portainer/portainer #运行容器 docker run -d -p 9000:9000 -v...
停止(但重启依然会自启动)systemctl stop hassio-supervisor.service 重启 systemctl restart hassio-...
homeassistant组件开发参考command_line switch代码 遇到接口cv.schema_with_slug_keys(SWITCH_SCHEMA)}未定义 应该是版本问题造成的,查看本地源码解决 cat /home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/command_line.py ...
Home Assistant Supervisor's compatibility hinges on a specific Docker CGroup v1. To ensure this compatibility, the following changes need to be made: Open this file using editor sudo nano /etc/default/grub Add this line and save it.
docker run -d --name=home_assistant \ -e TZ=Europe/Bucharest \ -v /volume1/docker/homeassistant:/config \ --net=host \ --restart always \ homeassistant/home-assistant (in the -TZ= line, you should enter your time zone.) After that, confirm your settings with a click on theOKbutto...
Hi everyone. I am having problems installing and running home assistant using the dietpi-software installer script. It seems to install fine (as the documentation says, installing python takes a while), but afterwards …