Open malorezzanzo64 opened 1 year ago
I'm currently using this simple script to do it:
!/bin/bash for entity in $(hass-cli --no-headers --columns="ENTITY=entity_id" entity list $1) do hass-cli entity rename $entity ${entity//$2/$3} done
for entity in $(hass-cli --no-headers --columns="ENTITY=entity_id" entity list $1) do hass-cli entity rename $entity ${entity//$2/$3} done
But having a command directly in hass-cli would be better
I'm currently using this simple script to do it:
But having a command directly in hass-cli would be better