I have an entity sensor.master_bath_floor_heating_today that uses history stats to report the amount of time my floor heating is in the ‘heating’ state:
I know that the heat uses 1.44 kWh for every hour it is active. I would like to create an energy sensor that tracks the amount of kWh used by the floor heat, so I can later add it to my energy dashboard.