Skip to content

Commit

Permalink
fix: force_create_energy_sensor should always create an energy sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Mar 30, 2024
1 parent 147469d commit 1d7427d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/sensors/test_energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ async def test_force_create_energy_sensor_overrides_create_energy_sensors_option
hass,
{
CONF_POWER_SENSOR_ID: "sensor.bedroom_airco_power",
CONF_NAME: "Bedroom airco",
CONF_FORCE_ENERGY_SENSOR_CREATION: True,
CONF_IGNORE_UNAVAILABLE_STATE: True,
},
Expand Down

0 comments on commit 1d7427d

Please sign in to comment.