Quantcast
Channel: Configuration - Home Assistant Community
Viewing all 109599 articles
Browse latest View live

0% battery percentage for ring outdoor Siren 5D22E2 / 5AT3T4

$
0
0

Hello,
I’m using a ring outdoor siren with no rechargeable batttery integrated with zwave ui js
And I’m surprised to see that battery percentage is at 0% ?
Maybe this characteristic is for the rechargeable battery slot only ?
I noticed [14-128-0-rechargeable] Rechargeable is set to true (which shouldn’t be the case…)

I don’t mind the battery percentage to be honest but I was wondering if the warning and critical level will work ?

Am I missing something ?

Best regards

image

1 post - 1 participant

Read full topic


Smartlife Intergration Issues

$
0
0

It seems the latest update for HA Core 25.7.1 has broken the smartlife intergration, getting the following message when attempting to add hub “Config flow could not be loaded: {“message”:“Invalid handler specified”}” unable to do anything with the intergration, has anyone else suffered the same issue? all devices within smartlife are now unavailable.

1 post - 1 participant

Read full topic

Victron Data in Home Assistant

$
0
0

With this topic I try to summarize the different possibilities I figured out to get data from Victron into home assistant. For now I figured out three options, feel free to continue this list.

1. via ModBus integration
I installed
https://github.com/sfstar/hass-victron
and followed the instructions (do not forget to turn on Modbus TCP-Server on your victron device).

pros:

  • it worked out of the box and it gives a (full-)access to a lot of functions

cons:

  • seems to be slow

2. via MQTT access
I only turned on ‘MQTT-Zugang’ on my victron device and it starts sending a lot of MQTT messages which can be used in home assistant.
setup instructions I found here:
https://gist.github.com/KidA001/dc5584db340cf3ad513f9415b20ed5fa
and/or
https://www.imval.tech/index.php/blog/victron-mqtt-server-bridging
and/or
https://github.com/Daddy1976/mqtt

pros:

  • very fast and sends 1885 topics (on my system) with a high update rate

cons:

  • needs keep alive message from home assistant side
  • needs bridge configuration in mosqitto broker on home assistant side
  • did not figure out how to reduce the update rate because it spams my network

3. via MQTT sent via node red
I use large image on cerbo which provides node red.
I followed instruction from here:
https://community.victronenergy.com/t/homeassistant-victron-gx-modbustcp-integration-tipps-und-tricks-gesucht/5781/4

… still evaluating

Sensor example for configuration.yaml:

mqtt:
  sensor:
    - name: "Cerbo P_MPPT"
      unique_id: "cerbo_p_mppt"
      state_topic: "cerbo/P_MPPT"
      unit_of_measurement: "W"
      suggested_display_precision: 1
      device:
        name: "Cerbo"
        identifiers: "cerbo"

pros:

  • full control of update rate via node red
  • you can define which messages are sent

cons:

  • needs more effort

additional tools I use:
MQTT explorer (app author: Thomas Nordquist)

1 post - 1 participant

Read full topic

Swapping Bulbs

$
0
0

Hi all,

Researching what to do when swapping bulbs: the advice is to rename the entity using the same name as the previous bulb.

However, I have a whole list of entities for my IKEA bulbs. Do I need to individually rename each entity? I also tried to delete and re-add the device, but all the old details are remembered by home assistant. I have swapped a Wiz Wifi bulb with an IKEA zigbee bulb, and want the functionality to swap as well. Screenshot attached. TIA

3 posts - 2 participants

Read full topic

Setup failed for 'automation': Invalid config

$
0
0

I have tried delete all automation and configur a simple automation.There is no any condition in automation, but same error.
automations.yaml

- id: '1751799577633'
  alias: test utelys
  description: ''
  triggers:
  - trigger: sun
    event: sunrise
    offset: 0
  actions:
  - type: turn_off
    device_id: 4aabb60ed6a1fccbd9926d5371f5e53d
    entity_id: 2945dffc61ca85748f25b910d876e35b
    domain: light
  mode: single
Log details (ERROR)
Logger: homeassistant.config
Source: config.py:1156
First occurred: July 5, 2025 at 9:09:01 PM (1 occurrence)
Last logged: July 5, 2025 at 9:09:01 PM

Unknown error calling automation config validator - 'condition'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config.py", line 1156, in async_process_component_config
    await config_validator.async_validate_config(hass, config), []
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 328, in async_validate_config
    await _try_async_validate_config_item(hass, p_config)
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 306, in _try_async_validate_config_item
    return await _async_validate_config_item(hass, config, False, True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 260, in _async_validate_config_item
    automation_config[CONF_ACTIONS] = await script.async_validate_actions_config(
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, validated_config[CONF_ACTIONS]
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 303, in async_validate_actions_config
    return [await async_validate_action_config(hass, action) for action in actions]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 348, in async_validate_action_config
    conditions = await condition.async_validate_conditions_config(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, choose_conf[CONF_CONDITIONS]
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 967, in async_validate_conditions_config
    return [await async_validate_condition_config(hass, cond) for cond in conditions]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 939, in async_validate_condition_config
    condition = config[CONF_CONDITION]
                ~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'condition'

1 post - 1 participant

Read full topic

MOES curtain module, how to calibrate

$
0
0

Hi,
I am a beginner with HA. I just installed HA as docker image onto my raspberry 4B, which also runs my local KODI installation.

Now I got a MOES curtain module to control my window shutter.

This works just fine. I implemented a 4 way switch (for two MOES) to
a) stop any movement when a button is pressed and the shutter is already traveling
b) else roll up or down depending which button pressed

BUT: after having rebooted the server, something lost track of the shutter position. It just didn’t roll up more than 1/3.
I couldn’t fine any setting in HA and I cannot find any procedure to calibrate position/end for the MOES.

Now I have two questions:

  • who is responsible for tracking the position HA or MOES?
  • how do I re-calibrate the position?

thank you very much.

PS. is there any recommended relay for my application?

1 post - 1 participant

Read full topic

Sense energy monitor

$
0
0

I have one of the wiser branded Sense energy monitors, and now that they are “supported” by Schneider, and the HA sense integration is no longer working. Is there another way to get these to work in HA?

1 post - 1 participant

Read full topic

HA Yellow and IPv6 with Matter over Wifi

$
0
0

Hello everyone,

I currently have the problem that I cannot reach any Matter over WiFi devices via IPv6 on my HA Yellow.

The IPv6 configuration is correct and the routes on the host are also correct. The devices can also be reached from the host via ping6. However, the individual containers do not have IPv6 und ein Ping über die Oberfläche gibt nur bei IPv4 ein Haken.

Do you have any idea how I can fix this?

1 post - 1 participant

Read full topic


Config error on Camera card

$
0
0

For some reason I am getting this:

Configuration Error on my HA page… I’ve changed nothing and after looking at it I cannot figure out why it’s not working… any suggestions or ideas?

Thank you!

- type: custom:advanced-camera-card
  cameras:
      - camera_entity: camera.backdoor
      - camera_entity: camera.livingroom_camera
      - camera_entity: camera.deck_road
      - camera_entity: camera.porch_backyard
      - camera_entity: camera.backdoor_yard
      - camera_entity: camera.front_upper
      - camera_entity: camera.shed_camera
      - camera_entity: camera.livingroom
  live:
    display:
       mode: grid
  display:
     mode: single
     grid_selected_position: default
     grid_selected_width_factor: 2
     grid_max_columns: 4

6 posts - 3 participants

Read full topic

Apexcharts: Nest heating minutes in hourly intervals

$
0
0

Really struggling to plot a column chart for the amount of minutes my heating is on in hourly intervals (over a 24 hour period).

To simulate this, ive created a template binary sensor which has an “on” and “off” state, triggered by the thermostat being set to 16 or below. (This binary sensor would be replaced by looking at whether the thermostat was “idle” or “heating”).

      nest_upstairs_setpoint_below_16:
        value_template: >
          {% if states('sensor.nest_upstairs_setpoint') is defined and
                int(states('sensor.nest_upstairs_setpoint')) <= 16 %}
          on
          {% else %}
          off
          {% endif %}

The sensor tracks on/off states:

This is what I am using in my chart template:

type: custom:apexcharts-card
graph_span: 24h
header:
  show: true
  title: Nest Upstairs Heating
update_interval: 60min
span:
  start: day
series:
  - entity: sensor.nest_upstairs_setpoint_below_16
    type: column
    transform: |
      return x === 'on' ? 1 : 0;
    stroke_width: 2
    color: red
    opacity: 1
    group_by:
      fill: last
      func: sum
      duration: 60m

I am not seeing the values as a sum of the on state in a 1 hour period. Eg. Between 10am and 11am, I’d expect to see a line showing 45 minutes duration:

(I cant post more than one image unfortunately, so included this one to show the yellow “on” period i am trying to chart with a value of 45 minutes).

Instead, I get a value of “1” for 10am and a maximum value of “4” at 11am.

Im obviously doing something completely wrong, so any pointers appreciated!

2 posts - 1 participant

Read full topic

History_stats time format

$
0
0

I’m trying to create a graph that shows how many times my sump pump runs a day and then I will probably overlay that against the daily rainfall from my weather station.

I cannot seem to get the history_stats format correct. I am using the UI. My duration is 1 day and I have followed many examples of time formats for the start field, but I continue to get formatting errors.

This:
'{{ as_timestamp(now().replace(hour=0, minute=0, second=0)) }}'
results in:
Parsing error: start must be a datetime or a timestamp: could not convert string to float: "'1751774400.264761'"

and this:
'{{ now().replace(hour=0, minute=0, second=0) }}'
results in:
Parsing error: start must be a datetime or a timestamp: could not convert string to float: "'1751774400.339319'"

and this:
"{{ now().replace(hour=3, minute=0, second=0, microsecond=0) }}"
results in:
Parsing error: start must be a datetime or a timestamp: could not convert string to float: '"2025-07-06 03:00:00-04:00"'

2 posts - 2 participants

Read full topic

Button-card Icon Not Updating Based on Binary Sensor State (Template Sensor)

$
0
0

Hi everyone,

I’m hoping someone can help me figure out why the icon on my button-card isn’t changing based on the state of a related binary_sensor. I’ve been trying to get the icon for my garage door button to switch between mdi:garage-variant (closed) and mdi:garage-open-variant depending on the state of binary_sensor.garage_door_opening.

I looked at a similar request on the forum here: [Change Button icon based on binary sensor state](https://community.home-assistant.io/t/change-button-icon-based-on-binary-sensor-state/417692), but it seems the syntax used there is for an older version of Home Assistant and resulted in several errors for me.
My approach has been to set up a template sensor in my configuration.yaml file. Here’s the YAML for my template sensor:

template:
  - sensor:
      - name: "Garage Door Icon"
        unique_id: garage_door_icon_sensor_id
        state: >
          {% if is_state('binary_sensor.garage_door_opening', 'off') %}
            closed
          {% else %}
            open
          {% endif %}
        icon: >
          {% if is_state('binary_sensor.garage_door_opening', 'off') %}mdi:garage-variant
          {% else %}mdi:garage-open-variant
          {% endif %}

---- cut ---- cut ---- cut ----
And here’s my Test Dashboard entry:

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        entity: sensor.garage_door_icon
        type: button
      - name: Garage 1
        entity: switch.garage_door_button
        type: custom:button-card
        tap_action:
          action: toggle
        show_name: true
        show_icon: true
        icon: "{{ state_attr('sensor.garage_door_icon', 'icon') }}"
      - name: Garage 2
        entity: switch.garage_door_button
        type: custom:button-card
        tap_action:
          action: toggle
        show_name: true
        show_icon: true
        icon: |
          {% if states('binary_sensor.garage_door_opening').state == 'off' %}
            sensor.garage_door_icon
          {% else %}
            sensor.garage_door_icon
          {% endif %}
      - name: Garage 3
        entity: switch.garage_door_button
        type: custom:button-card
        tap_action:
          action: toggle
        show_name: true
        show_icon: true
        icon: "{{ states('sensor.garage_door_icon').attributes.icon }}"

---- cut ---- cut ---- cut ----

The dashboard card looks like this:

Using the sensor.garage_door_icon directly shows that I have set the icon. However, when I try to copy this to the garage_door_button button-card the icon does not appear. (As you can see I’ve tried a few variations to no avail).

The state of the sensor.garage_door_icon entity in Developer Tools → States changes correctly (between “closed” and “open”), and the icon attribute also updates to the correct mdi: icon. However, the icon on the button card itself remains blank.

I’ve also tried directly templating the icon in the button-card like this:

icon: >
    {% if is_state('binary_sensor.garage_door_opening', 'off') %}
      mdi:garage-variant
    {% else %}
      mdi:garage-open-variant
    {% endif %}`

But that didn’t work either (the button just shows no icon).

I’d be grateful for any thoughts you have on addressing this.

Thanks in advance!

2 posts - 2 participants

Read full topic

Volvo on call integration

$
0
0

hello,

with the Volvo on call integration, I got the message “unexpected error” whenI want to register. Is the module stopped working? thanks for your advice,

1 post - 1 participant

Read full topic

ZBT-1 OTBR: Can't establish preferred network

$
0
0

Man, I’m hoping someone can help as I’m pulling my hair out…

I am trying to set up a new ZBT-1 as an OTBR in Home Assistant. I followed the instructions here for a new Connect ZBT-1.

The process appears to have partially succeeded, in that OpenThread has been installed, and I have an OpenThread-based border router. HOWEVER, I don’t have a preferred network (see below).

On my IOS companion App I try to make that my Preferred Network via “Send credentials to Home Assistant” in the integration. It fails saying Error: No preferred network found.

1 post - 1 participant

Read full topic

Blank pages in Settings and no entity search

$
0
0

Good afternoon,

I have an issue with my HA installation. Already tried Google and the search but didn’t find an answer.
I am running the latest version and today i wanted to create some automations.
Sorry for wrong wording in english. I am using the german version of HA.

My problem is as followed:

  • When i navigate through “Settings → Devices & Services → Entities” there i just a blank page.
  • Same problem for “Settings → Devices & Services → Devices”. Just a blank page
  • When creating automations or something on the frontend and i want to search for an entity the dialog says: “No entities found”. When i copy/paste the name of the entity from the developer tools everything just works fine.
  • The system is running without any issues. Just cant see entities and devices page.
  • Reboot, cache delete and trying on other devices did not work.

Any ideas on that problem?

Thank you in advance!

1 post - 1 participant

Read full topic


Modbus Error: Not connected[AsyncModbusTcpClient

$
0
0

I’m trying to integrate a Carlo Gavazzi EM24-E1-AV2 X meter into HA.

To do so, I’ve added these entries to the config.yaml file.
For testing, only with one sensor:

modbus:
  - name: EM24
    type: tcp
    host: 192.168.1.10
    port: 502
    sensors:
      - name: EM1 Phase 1 voltage
        address: 0
        slave: 1
        unique_id: em1_phase_1_voltage
        data_type: int32
        device_class: voltage
        input_type: input
        precision: 2
        scale: 0.1
        state_class: measurement
        swap: word
        unit_of_measurement: V

In homeassistance.log I get the follwing error:

2025-07-06 16:22:31.047 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-07-06 16:22:33.481 WARNING (MainThread) [pymodbus.logging] Failed to connect [Errno 111] Connect call failed ('192.168.1.10', 502)
2025-07-06 16:22:34.137 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: EM24: Error: device: 1 address: 0 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.1.10:502]

What am I doing wrong?

I’m grateful for any advice.

I’d like to integrate multiple meters in the next step.

The connection works in the Carlo Gavazzi UCS7 configuration software:



I can also read the registers with Open Mod Scan:

1 post - 1 participant

Read full topic

Legrand Shutter switch up/down inverted with ZHA

$
0
0

I have a Legrand Shutter switch with Neutral (Legrand Valena Life model 752190) which I think is similar or same as Céliane 067726 controlling a shade. I have previously tested this with Conbee II / deCONZ on an older version of Home Assistant, and now I have finally paried it with the “production” set up using ZHA (HW and version details at the end). It works but the controls are inverted. While it is open, it thinks it is “closed” and the “open” button is disabled (up arrow) and vice versa. I can still control it if I click “stop” (it temporarily allows all buttons) and then click the “open” button right away and it opens.

Now, there is an “Inverted” option in device config but whenever I toggle this, it reverts back 2 or 3 seconds later. Is there any other way to actually make the controls inverted?

More configuration details:

  • Home Assistant container, Core 2025.6.3, Frontend 20250531.4
  • ZHA
  • SMLIGHT SLZB-07 (EZSP) USB stick (Firmware: 7.3.0.0 build 131)
  • Legrand Valena Life 752190 - ZHA doesn’t report firmware, but the old HASS install with deCONZ still shows firmware 001a for this device; I believe it is fairly old as I had to switch zigbee channel to 11 for it to pair, which I didn’t have to do for the Legrand Dimmer Switch

Any guidance appreciated! :slight_smile:

1 post - 1 participant

Read full topic

Limiting Notify Alarm Stream

$
0
0

I’ve used the Alarm Stream notification with a priority of ‘high’ for a while now to force an audio alarm on my android phone. In the past, when the alarm was triggered, it rang twice and stopped. In the last week or so, when the alarm rings, it doesn’t stop. I have to open my phone & pull down the notification bar to get it to stop. I assume an update to HA or Android has made this change in how this works. Looking for a solution to limit the length of the alarm notification

data:
data:
ttl: 0
priority: high
channel: alarm_stream
message: Driveway Chimes - Alert
action: notify.mobile_app_pixel_8a

Thanks, John

1 post - 1 participant

Read full topic

Frigate stop working after uptade to 2025.6

$
0
0

Hello
I have problem with frigate, after upgrade HA to 2025.6 frigate stoper working, i tryed reinstal and still not working:(
Propably its problem with go2rtc, but idk how IT solve, :frowning:
Im looking for any tutorial how to co figurę frigate with go2rtc on newest HA version
How can i check if go2rtc works good in my HA instalation?
Ty for any help

2 posts - 2 participants

Read full topic

Tuya ZG-204ZM - false positives

$
0
0

Hello everyone,
I’ve bought some Tuya ZG-204ZM mmWave sensor and integrated them in HomeAssistant trough Zigbee2MQTT.

The problem I’m encountering is that I’m not able to set it properly.
It always detects something even if nobody is in the room.
At the moment it’s setup like this:

The goal of the whole exercise is that the lamp in my bedroom should automatically turn on when I’m in the room, but then when I’m on the bed (so static) it turns off.

Any help is appreciated :slight_smile:

1 post - 1 participant

Read full topic

Viewing all 109599 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>