Hey
is it possible to split my config by Projects? Right now I have a full list “Sensors” “scripts” etc.
but it would be easier if I could split the whole configuration into projects.
And if so - is there any problem with multiple sensor: tags or mqtt: tags?
As an example - normally i’ve to split the Project in two settings. “mqtt” and “templates”
##################
### openWB ######
##################
mqtt:
sensor:
- name: grid Tages Verbrauch
state_topic: "openWB/evu/DailyYieldImportKwh"
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
icon: mdi:transmission-tower
- name: OpenWB daily_yield_house
state_topic: "openWB/global/DailyYieldHausverbrauchKwh"
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
- name: OpenWB EVU Watt
state_topic: "openWB/evu/W"
- name: OpenWB PV Watt
state_topic: "openWB/pv/W"
- name: OpenWB Lademodus
state_topic: "openWB/global/ChargeMode"
- name: OpenWB SoC LP1
state_topic: "openWB/lp/1/%Soc"
- name: OpenWB Loading LP1 Watt
state_topic: "openWB/lp/1/W"
- name: OpenWB Loaded kWh
state_topic: "openWB/lp/1/kWhActualCharged"
- name: Energieverbrauch
state_topic: "openWB/global/WHouseConsumption"
template:
sensors:
openwb_status:
friendly_name: "OpenWB Status"
value_template: >-
{% if states('sensor.openwb_lademodus') == '0' %}
Sofort Laden
{% elif states('sensor.openwb_lademodus') == '1' %}
Min und PV
{% elif states('sensor.openwb_lademodus') == '2' %}
Nur PV
{% elif states('sensor.openwb_lademodus') == '3' %}
Stop
{% elif states('sensor.openwb_lademodus') == '4' %}
Standby
{% else %}
Unknown
{% endif %}