hi so i have lot of warning errors. some i realize are ok if something offline but some i dont know how to fix
Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:719
Integration: Binary sensor (documentation, issues)
First occurred: 12:09:17 AM (17794 occurrences)
Last logged: 11:17:24 AM
Updating ping binary_sensor took longer than the scheduled update interval 0:00:01
Updating command_line binary_sensor took longer than the scheduled update interval 0:01:00
Logger: homeassistant.helpers.template
Source: helpers/template.py:1840
First occurred: 11:10:27 AM (24 occurrences)
Last logged: 11:15:28 AM
Template variable error: None has no element 0 when rendering '{{ state_attr('weather.peterborough','forecast')[0].templow | default('0') }}'
Template variable error: None has no element 0 when rendering '{{ state_attr('weather.peterborough','forecast')[0].temperature | default('0') }}'
Template variable error: None has no element 0 when rendering '{{ state_attr('weather.peterborough','forecast')[0].precipitation_probability | default('0') }}'
Template variable error: None has no element 0 when rendering '{% if state_attr("weather.peterborough","forecast")[0].condition =='clear-night' %} 3 {% elif state_attr("weather.peterborough","forecast")[0].condition =='cloudy' %} 5 {% elif state_attr("weather.peterborough","forecast")[0].condition =='fog' %} 16 {% elif state_attr("weather.peterborough","forecast")[0].condition =='hail' %} 6 {% elif state_attr("weather.peterborough","forecast")[0].condition =='lightning' %} 13 {% elif state_attr("weather.peterborough","forecast")[0].condition =='lightning-rainy' %} 17 {% elif state_attr("weather.peterborough","forecast")[0].condition =='partlycloudy' %} 8 {% elif state_attr("weather.peterborough","forecast")[0].condition =='pouring' %} 18 {% elif state_attr("weather.peterborough","forecast")[0].condition =='rainy' %} 9 {% elif state_attr("weather.peterborough","forecast")[0].condition =='snowy' %} 11 {% elif state_attr("weather.peterborough","forecast")[0].condition =='snowy-rainy' %} 7 {% elif state_attr("weather.peterborough","forecast")[0].condition =='windy' %} 14 {% elif state_attr("weather.peterborough","forecast")[0].condition =='windy-variant' %} 14 {% else %} 12 {% endif %}'
Logger: homeassistant.components.stream.stream.camera.camera2
Source: components/stream/__init__.py:347
Integration: Stream (documentation, issues)
First occurred: 12:03:01 AM (90 occurrences)
Last logged: 11:10:55 AM
Error from stream worker: Error opening stream (EOF, End of file) rtmp://192.168.0.249:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=test
Logger: homeassistant.helpers.template
Source: helpers/template.py:1292
First occurred: 8:40:12 AM (1 occurrences)
Last logged: 8:40:12 AM
Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ (states('sensor.outside_barometric_pressure') | float * 0.029529980164712) | round(2) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2022.1
Logger: homeassistant.config
Source: config.py:454
First occurred: 12:02:46 AM (1 occurrences)
Last logged: 12:02:46 AM
Invalid config for [template]: invalid template (TemplateSyntaxError: invalid syntax for function call expression) for dictionary value @ data['sensor'][0]['state']. Got "{{ as_timestamp(states('sensor.date_time_iso',default)) | timestamp_custom('%I:%M %p',local=true,default) }}". (See /config/template.yaml, line 0).
now the last one i have issues with all my time stamps i bee googling but i keep trying what people said in this communuity but i keep getting warnings… my code is
- sensor:
# - name: "Date and time"
# state: "{{ as_timestamp(states('sensor.date_time_iso',default)) | timestamp_custom('%A %B %-d, %I:%M %p',local=true,default) }}"
# icon: "mdi:calendar-clock"
- name: "Display Time"
state: "{{ as_timestamp(states('sensor.date_time_iso',default)) | timestamp_custom('%I:%M %p',local=true,default) }}"
icon: "mdi:calendar-clock"
- name: "Display Hour"
state: "{{ as_timestamp(states('sensor.date_time_iso',default)) | timestamp_custom('%I',local=true,default) }}"
icon: "mdi:calendar-clock"
- name: "Display Minutes"
state: "{{ as_timestamp(states('sensor.date_time_iso',default)) | timestamp_custom('%M',local=true,default) }}"
icon: "mdi:calendar-clock"
i remmed out the first one to see if i wouldnt get errors… but i still get errors it doesnt like the default i did have default=none prior i had nothing…
these are just some errors warnings i working with hopefully i can get some of these cleared and ill ask the next batch… as i knwo some are from my bad interent connection and it cant get access
1 post - 1 participant