The HA configuration displays:
Configuring Command Line sensor using YAML has moved.
Consult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue.
and tips it will not work in HA 2023.8.0.
solution:
In HA config/packages/homekit-infused/hki_sensors.yaml。Commented the code about ”Latest HKI Version ”、“Latest Compatible HA Version ” and "Latest Home Assistant Version "。In current folder create a yaml file,put the code in it:
The HA configuration displays: Configuring Command Line
sensor
using YAML has moved. Consult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue. and tips it will not work in HA 2023.8.0.solution: In HA config/packages/homekit-infused/hki_sensors.yaml。Commented the code about ”Latest HKI Version ”、“Latest Compatible HA Version ” and "Latest Home Assistant Version "。In current folder create a yaml file,put the code in it:
command_line:
Latest HKI Version
name: HKI Latest Version command: "curl -s https://jimz011.github.io/homekit-infused/version | grep 'Current Version' | sed 's/Current Version: //'" scan_interval: 21600
Latest Compatible HA Version
Latest Home Assistant Version
See here for updated layout: https://www.home-assistant.io/integrations/command_line/#cpu-temperature