Skip to content

Commit

Permalink
fix: Fixed issue with loading sensors when electricity meters are not…
Browse files Browse the repository at this point in the history
… present
  • Loading branch information
BottlecapDave committed Oct 15, 2024
1 parent 936eed4 commit 1fdfff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/octopus_energy/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ async def async_setup_default_sensors(hass: HomeAssistant, config, async_add_ent
entities.append(OctopusEnergyCurrentRatesDataLastRetrieved(hass, gas_rate_coordinator, False, meter, point))
entities.append(OctopusEnergyCurrentStandingChargeDataLastRetrieved(hass, gas_standing_charges_coordinator, False, meter, point))

debug_override = await async_get_debug_override(hass, mpan, serial_number)
debug_override = await async_get_debug_override(hass, mprn, serial_number)
previous_consumption_coordinator = await async_create_previous_consumption_and_rates_coordinator(
hass,
account_id,
Expand Down

0 comments on commit 1fdfff3

Please sign in to comment.