Skip to content

Instantly share code, notes, and snippets.

@reconbot
Created June 23, 2023 03:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reconbot/14a3d61fcce0802ce32b95704e4bc97b to your computer and use it in GitHub Desktop.
Save reconbot/14a3d61fcce0802ce32b95704e4bc97b to your computer and use it in GitHub Desktop.
sensor:
- platform: cse7766
current:
name: "current"
accuracy_decimals: 1
voltage:
name: "voltage"
accuracy_decimals: 1
power:
name: "power"
accuracy_decimals: 1
id: power
- platform: integration
name: "energy"
sensor: power
time_unit: h
state_class: measurement
unit_of_measurement: kWh
filters:
- multiply: 0.001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment