Change EntityID

I see you can use customize entities with overrides but there is no property for the entity ID. I see you can also add a friendly name but are you stuck with the entity id the system creates or can it be changed?

I tried through developer tools states as an article stated but that does not work. I use the yaml frontend not gui.

1 Like

You should be able to specify the the entity_id in your yaml config. Paste your device config here.

My devices so far are added by zwave and by my phone as I have the app loaded on it.

So what Iā€™m asking is if a zwave device is added can I change the entity id of that device?

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
    base_url: blank
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem
    login_attempts_threshold: 5
    ip_ban_enabled: true

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

zwave:
    usb_path: /dev/serial/by-id/usb-0658_0200-if00
    network_key: blank
    polling_interval: 10000
    device_config:
      light.jasco_products_14294_in_wall_smart_dimmer_level:
        polling_intensity: 1
        refresh_value: 2
        delay: 3
input_boolean:
  poolpump_waterfall_mode:
    name: WaterFall Mode

lovelace:
    mode: yaml
    resources:
      - url: /local/button-card.js
        type: module
      - url: /local/slider-entity-row.js
        type: module

Then you can change the entity_id in the configuration / entities menu. Click on the device there.

I swear I tried that before and it was no letting me but now it is. thanks.

Before it was saying could not find entity. I need to retrace and make sure I didnt miss a step.

1 Like