大佬我改了能源的单位后能源还是不能认得到实体
epshome配置
# Example configuration entry
web_server:
port: 80
# Example configuration entry
uart:
id: uart_bus
rx_pin: GPIO3
tx_pin: GPIO1
baud_rate: 9600
stop_bits: 1
# modbus:
time:
- platform: homeassistant
timezone: Asia/Shanghai
id: time1
sensor:
- platform: pzemac
current:
name: "IN_current"
id: IN_current
voltage:
name: "IN_voltage"
id: IN_voltage
energy:
name: "IN_energy"
filters:
- lambda: return x /1000;
unit_of_measurement: "kWh"
power:
name: "IN_power"
id: IN_power
frequency:
name: "IN_Fr"
id: IN_Fr
power_factor:
name: "IN_PF"
id: IN_PF
update_interval: 30s
|