Errors after update to HA 2025.12.x in yaml file sensors

I see those red lines in many yaml files now after HA 2025.12.x

#  ██████╗ ██████╗ ███╗   ██╗███████╗██╗ ██████╗ ██╗   ██╗██████╗  █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
#  ██╔════╝██╔═══██╗████╗  ██║██╔════╝██║██╔════╝ ██║   ██║██╔══██╗██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
#  ██║     ██║   ██║██╔██╗ ██║█████╗  ██║██║  ███╗██║   ██║██████╔╝███████║   ██║   ██║██║   ██║██╔██╗ ██║
#  ██║     ██║   ██║██║╚██╗██║██╔══╝  ██║██║   ██║██║   ██║██╔══██╗██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
#  ╚██████╗╚██████╔╝██║ ╚████║██║     ██║╚██████╔╝╚██████╔╝██║  ██║██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
#   ╚═════╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝     ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝
###########################################################################################
# http://patorjk.com/software/taag/#p=display&c=bash&f=ANSI%20Shadow
# font: rectangles
###########################################################################################

< snap >

automation: !include_dir_merge_list automations/
script: !include_dir_merge_named scripts/
template: !include_dir_merge_list integrations/templates

< snap >

sensor: !include integrations/sensors.yaml

< snap >

sensors.yaml:

#  ███████╗███████╗███╗   ██╗███████╗ ██████╗ ██████╗ ███████╗
#  ██╔════╝██╔════╝████╗  ██║██╔════╝██╔═══██╗██╔══██╗██╔════╝
#  ███████╗█████╗  ██╔██╗ ██║███████╗██║   ██║██████╔╝███████╗
#  ╚════██║██╔══╝  ██║╚██╗██║╚════██║██║   ██║██╔══██╗╚════██║
#  ███████║███████╗██║ ╚████║███████║╚██████╔╝██║  ██║███████║
#  ╚══════╝╚══════╝╚═╝  ╚═══╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝
###########################################################################################
---
###########################################################################################
# HAVE I BEEN PWNED
###########################################################################################
- platform: haveibeenpwned_custom
    email:
      - !secret haveibeenpwned_1
      - !secret haveibeenpwned_2
      - !secret haveibeenpwned_3
      - !secret haveibeenpwned_4
      - !secret haveibeenpwned_5
      - !secret haveibeenpwned_6
      - !secret haveibeenpwned_7
      - !secret haveibeenpwned_8
      - !secret haveibeenpwned_9
    api_key: !secret haveibeenpwned_api

###########################################################################################
# CRYPTO INFO
###########################################################################################
- platform: cryptoinfo_advanced
  id: "BTC USD"
  unique_id: "ad002983-b311-4972-a4fb-576e883ae9bc"
  cryptocurrency_name: "bitcoin"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 1
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "XRP USD"
  unique_id: "7e65d997-9027-43b5-b8f9-70fccfeed23e"
  cryptocurrency_name: "ripple"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "WAX USD"
  unique_id: "9dd1dfdc-f862-425b-a3ff-6293da73cc10"
  cryptocurrency_name: "wax"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "VET USD"
  unique_id: "a05462ca-7a62-49e0-b3e8-d066e59c9ff0"
  cryptocurrency_name: "vechain"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "AVAX USD"
  unique_id: "195faa94-8ca2-4d02-90f9-8df4baaf08a4"
  cryptocurrency_name: "avalanche-2"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "SOL USD"
  unique_id: "ca36f81a-e44b-48b8-a371-edc389dd2897"
  cryptocurrency_name: "solana"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "DOGE USD"
  unique_id: "45fe4791-89b7-48c4-8ca2-6097ab81b486"
  cryptocurrency_name: "dogecoin"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

- platform: cryptoinfo_advanced
  id: "ADA USD"
  unique_id: "edecafe5-31b3-401a-a122-64e71166596f"
  cryptocurrency_name: "cardano"
  currency_name: "usd"
  unit_of_measurement: "$"
  multiplier: 1
  update_frequency: 5
  extra_sensors:
    - property: "24h_volume"
      unit_of_measurement: "$"

###########################################################################################
# MOLD INDICATOR
###########################################################################################
- platform: mold_indicator
  name: "Mold indicator"
  indoor_temp_sensor: sensor.bathroom_temperature
  indoor_humidity_sensor: sensor.bathroom_humidity
  outdoor_temp_sensor: sensor.temperature
  calibration_factor: 1.10

###########################################################################################
# SENSOR P2000 Lifeliners Sensor Component
# https://github.com/cyberjunky/home-assistant-p2000lifeliners
###########################################################################################
- platform: p2000lifeliners
  name: "Trauma Heli VUmc"
  capcodes: 120901
  
###########################################################################################
# STATISTICS 
# https://www.home-assistant.io/integrations/statistics/
###########################################################################################
- platform: statistics
  name: "Master Bathroom Humidity Average Linear 24h"
  unique_id: "14036730-f69a-43e4-8870-65957b2fabaf"
  entity_id: sensor.bathroom_humidity
  state_characteristic: average_linear
  sampling_size: 50

###########################################################################################
# SENSOR RFLINK
# https://www.home-assistant.io/integrations/rflink/
###########################################################################################
- platform: rflink
  automatic_add: true

###########################################################################################
# SENSOR TIME_DATE
# https://www.home-assistant.io/integrations/time_date/
###########################################################################################
- platform: time_date
  display_options:
    - "time"
    - "date"
    - "date_time"
#    - "date_time_iso"
#    - "time_date"
#    - "time_utc"
#    - "beat"

###########################################################################################
# SENSOR HISTORY_STATS
# https://www.home-assistant.io/integrations/history_stats/
###########################################################################################
- platform: history_stats
  name: "Times washing machine has been on last 14 days"
  entity_id: binary_sensor.washing_machine
  state: "on"
  type: count
  duration:
    days: 14
  end: "{{ now() }}"

- platform: history_stats
  name: "Times dryer machine has been on last 14 days"
  entity_id: binary_sensor.dryer_machine
  state: "on"
  type: count
  duration:
    days: 14
  end: "{{ now() }}"

- platform: history_stats
  name: "Times dishwasher machine has been on last 14 days"
  entity_id: binary_sensor.dishwasher_machine
  state: "on"
  type: count
  duration:
    days: 14
  end: "{{ now() }}"

- platform: history_stats
  name: "History Apple TV"
  entity_id: select.logitech_harmony_activities
  state: "AppleTV"
  type: time
  start: "{{ now().replace(hour=0, minute=0, second=0) }}"
  end: "{{ now() }}"

- platform: history_stats
  name: "History Nintendo"
  entity_id: select.logitech_harmony_activities
  state: "Nintendo"
  type: time
  start: "{{ now().replace(hour=0, minute=0, second=0) }}"
  end: "{{ now() }}"

- platform: history_stats
  name: "History Cromecast"
  entity_id: select.logitech_harmony_activities
  state: "Cromecast"
  type: time
  start: "{{ now().replace(hour=0, minute=0, second=0) }}"
  end: "{{ now() }}"

- platform: history_stats
  name: "History TV"
  entity_id: select.logitech_harmony_activities
  state: "TV"
  type: time
  start: "{{ now().replace(hour=0, minute=0, second=0) }}"
  end: "{{ now() }}"

Disable the home assistant extension. It is out of date and reporting these false positives.

1 Like

There is an open issue for this on GitHub - Bogus “DisallowExtraPropWarning” on every script. 6.0.1 and previous · Issue #1061 · hassio-addons/addon-vscode

However, this comes from the VS Code Home Assistant Extensions which has a seperate repository at keesschollaart81/vscode-home-assistant: Visual Studio Code Extension for Home Assistant. :star: if you think this is cool!

There is also an Open Issue at the extension repository - DisallowedExtraPropWarning for blueprint-based template sensor’s name attribute. · Issue #3973 · keesschollaart81/vscode-home-assistant

For now, I would suggest disabling the Problem reporting by editing the .vscode/settings.json and adding:

{ "problems.visibility": false }
1 Like

Can you please explain a little bit more?
I have the same issue and use the sensor.yaml today.
I only use Platform - History stats in my sensor.
Should I move everything to configuration.yaml or rewrite the code within the sensor.yaml?

No. There is no need to do anything. It is a false positive. I.e. not a real error.

1 Like