Witam, Nie udalo mi sie dodać sensora- zbyt mała wiedza . Ja chciałem wykorzytsac wykresy i duża wartośc to suma z 3 faz.
Poniżej wklejam config - nie wiem co robie źle.
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
frontend:
themes: !include_dir_merge_named themes
# Text to speech
# Example configuration.yaml entry for Google TTS service
tts:
- platform: google_translate
group: !include groups.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
broker: mqtt53.supla.org
port: 8883
certificate: auto
username: ******************
password: *****************
discovery: true
influxdb:
username: homeassistant
password: ************
max_retries: 3
default_measurement: state
camera:
- platform: mjpeg
name: Camera1
mjpeg_url: http://homeassistant:8081
sensor:
- platform: time_date
display_options:
- 'date_time_iso'
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: '/'
- type: memory_use_percent
- type: processor_use
- type: network_in
arg: enp4s0
- type: network_out
arg: enp4s0
- type: last_boot
- type: swap_use_percent
- platform: template
sensors:
dom_aktualna_moc:
device_class: power
friendly_name: "Dom Aktualna moc"
value_template: >-
{{ ((states('sensor.electricity_meter_voltage_phase_1')|float + states('sensor.electricity_meter_voltage_phase_2')|float + states('sensor.electricity_meter_voltage_phase_3')|float))|round(0) }}
unit_of_measurement: "W"
http:
base_url: https://*************.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
google:
client_id: **********************
client_secret: ******************
track_new_calendar: true
esphome:
name: ESP32
platform: ESP32
board: nodemcu-32s
#Spotify
spotify:
client_id: **********************
client_secret: *********************