Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Template variable warning: list object has no element 1 when rendering '{{ieee_id_long.split('_')[1] }}' #45

Open
Routout opened this issue Oct 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Routout
Copy link

Routout commented Oct 12, 2024

Ground Rules
Before you report a 'Bug', you need to make sure you have read the accompanying *.md file or Community Exchange post main file completely and followed all the settings required there.
This is important as if these instructions are not followed, you will likely have a bad day and be forced to contact me for help. Not that I don't want to help, but personal interaction takes me a while to respond and is generally non-productive.

Issues are not a place to ask questions, see the Discord links below for that. This is for broken things. If you are not sure, PLEASE go to Discord and ask the question first.

If you have a general question, I prefer them to be asked on Discord. Ping me in the channel, I don't often respond to DM's... @SirGoodenough

I also monitor the Blueprint Exchange post related to each Blueprint and will respond there.

There are 3 places on Discord that I monitor, in preference order:

My personal Discord Blueprints Channel: https://discord.gg/HwFKS4my8Y
DrZzs Blueprint channel: https://discord.gg/jvk7yEFyX3
Homa Assistant Blueprint Channel: https://discord.gg/jPPvqsWwzh

Do if you think you found a bug where the text points you wrong, or something is just broken, continue here. If you have a Feature Request, see the other Issue Template...

Which Blueprint is This Concern About / Related To?
Zigbee2MQTT - Xiaomi Cube Controller

Describe the bug
Warning in the logs
Logger: homeassistant.helpers.template
Source: helpers/template.py:2742
First occurred: 15:36:08 (34 occurrences)
Last logged: 18:42:42

Template variable warning: list object has no element 1 when rendering '{{ieee_id_long.split('_')[1] }}'

What version of the blueprint has the issue?
Aqara Magic Cube Zigbee2MQTT MQTT Triggered - 2024-06-02

What was the version of Home Assistant Core?
2024.10.2

What type of installation are you running?

System Information

version core-2024.10.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.46-haos
arch x86_64
timezone Europe/Helsinki
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1518
Downloaded Repositories 60
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.1
update_channel stable
supervisor_version supervisor-2024.10.0
agent_version 1.6.0
docker_version 26.1.4
disk_total 62.3 GB
disk_used 26.2 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Samba share (12.3.2), AdGuard Home (5.1.4), Advanced SSH & Web Terminal (19.0.0), ESPHome (2024.9.2), Home Assistant Google Drive Backup (0.112.1), Piper (1.5.2), VLC (0.3.0), Whisper (2.2.0), eufy-security-ws (1.9.1), Studio Code Server (5.17.1), Frigate Proxy (1.5), Grafana (10.1.1), Z-Wave JS UI (3.14.0), Zigbee2MQTT (1.40.2-1), AppDaemon (0.16.7), openWakeWord (1.10.0), ZigStar TI CC2652P/P7 FW Flasher (0.4.0), Tandoor recipes (1.5.20), Filebrowser (2.23.0_14), Mealie (v2.0-beta), Mosquitto broker (6.4.1), MQTT Explorer (browser-1.0.3), Cloudflared (5.1.21), Node-RED (18.1.1)
Dashboards
dashboards 9
resources 33
views 28
mode storage
Recorder
oldest_recorder_run October 3, 2024 at 04:14
current_recorder_run October 12, 2024 at 13:07
estimated_db_size 3839.64 MiB
database_engine sqlite
database_version 3.45.3

YAML snippets INCLUDING the Script or Automation that you built to call the blueprint

alias: Radio jyvaskyla kuutioautomaatio
description: ""
use_blueprint:
  path: SirGoodenough/Zigbee2MQTT-Xiaomi_Cube_Controller_MQTT_Triggered.yaml
  input:
    topic: zigbee2mqtt/xiaomikuutio
    shake:
      - data: {}
        action: script.1699603827571
    rotate_cw_any:
      - data: {}
        target:
          entity_id:
            - media_player.unnamed_room
        action: media_player.volume_up
    rotate_ccw_any:
      - data: {}
        target:
          entity_id:
            - media_player.unnamed_room
        action: media_player.volume_down

Additional context
Add any other context about the problem here.

@Routout Routout added the bug Something isn't working label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant