logger: baud_rate: 0 uart: - id: ubus rx_pin: GPIO3 tx_pin: GPIO1 baud_rate: 9600 stop_bits: 1 switch: - platform: uart uart_id: ubus name: "Reset Energy" data: [0x01, 0x42, 0x80, 0x11] sensor: - platform: pzemac current: name: "CT Current" voltage: name: "CT Voltage" energy: name: "CT Energy" unit_of_measurement: kWh accuracy_decimals: 2 filters: - calibrate_linear: - 0 -> 0 - 8.68 -> 21 - multiply: 0.001 update_interval: 1s