Untitled

mail@pastecode.io avatar
unknown
yaml
a month ago
376 B
3
Indexable
Never
sensor:
  - platform: ultrasonic
    trigger_pin: GPIO13
    echo_pin: GPIO12
    name: "Water Tank - water distance (m)"
    device_class: distance
    unit_of_measurement: "m"
    id: weter_tank_measured_distance
    update_interval: 5s
    timeout: 5m
    pulse_time: 10ms
    filters: 
    - median:
        window_size: 600
        send_every: 30
        send_first_at: 1
Leave a Comment