what is the interpretation of:“Invalid config for [modbus]: string value is None for dictionary value @ data[‘modbus’][0][‘sensors’][7][‘unit_of_measurement’]. Got None. (See /config/configuration.yaml, line 14”).
" ?Processing: Config.txt…
It means you need to supply a unit_of_measurement in the 8th one of your modbus sensors.
Actually i wanted to uplaod config.txt, which seems not acceptable
Copy and paste the relevant part of your config. Format it like this: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16
[Processing: Config.txt…](
Loads default set of integrations. Do not remove.
default_config:
Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#Heizung
modbus:
-
name: “SYSTAComfort2”
host: 192.168.178.20
type: tcp
port: 502sensors:
- name: “AußentemperaturTA”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 0
data_type: int16 - name: “Vorlauftemp HK1 TV”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 1
data_type: int16 - name: “Rücklauftemp HK1 TR”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 2
data_type: int16 - name: “Warmwassertemp Oben TWO”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 3
data_type: int16 - name: “Vorlauftemp Kessel FATV”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 12
data_type: int16 - name: “Rücklauf Kessel FATR”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 13
data_type: int16 - name: “Volumenstrom Solar S”
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: l/min
address: 35
data_type: int16 - name: “Kollektortemperatur 1 TSA1”
scan_interval: 100
slave: 1
input_type: input
scale: 1
unit_of_measurement:
address: 38
data_type: uint16 - name: “Betriebsstunden Kessel”
scan_interval: 100
slave: 1
input_type: holding
unit_of_measurement: h
scale: 1
address: 27
data_type: uint32 - name: “Anzahl Starts Kessel”
scan_interval: 100
slave: 1
input_type: holding
scale: 1
address: 29
data_type: uint32
)
- name: “AußentemperaturTA”
Thanks for help
You ignored this.
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#Heizung
modbus:
- name: SYSTAComfort2
host: 192.168.178.20
type: tcp
port: 502
sensors:
- name: "AußentemperaturTA"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 0
data_type: int16
- name: "Vorlauftemp HK1 TV"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 1
data_type: int16
- name: "Rücklauftemp HK1 TR"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 2
data_type: int16
- name: "Warmwassertemp Oben TWO"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 3
data_type: int16
- name: "Vorlauftemp Kessel FATV"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 12
data_type: int16
- name: "Rücklauf Kessel FATR"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: °C
address: 13
data_type: int16
- name: "Volumenstrom Solar S"
scan_interval: 100
slave: 1
input_type: input
scale: 0.1
unit_of_measurement: l/min
address: 35
data_type: int16
- name: "Kollektortemperatur 1 TSA1"
scan_interval: 100
slave: 1
input_type: input
scale: 1
unit_of_measurement:
address: 38
data_type: uint16
- name: "Betriebsstunden Kessel"
scan_interval: 100
slave: 1
unit_of_measurement: h
scale: 1
address: 27
data_type: uint32
- name: "Anzahl Starts Kessel"
scan_interval: 100
slave: 1
input_type: holding
unit_of_measurement: 1
scale: 1
address: 29
data_type: uint32
i corrected some, but still lost
Thanks. This one:
- name: "Kollektortemperatur 1 TSA1"
scan_interval: 100
slave: 1
input_type: input
scale: 1
unit_of_measurement: #### <---- Missing unit here
address: 38
data_type: uint16
Which is what this said:
Invalid config for [modbus]
data[‘modbus’][0][‘sensors’][7][‘unit_of_measurement’]
Got None.
I am very sorry this unexusable error