Skip to content

Commit

Permalink
reverting flex_context changes 2
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Claessen <[email protected]>
Signed-off-by: JDev <[email protected]>
  • Loading branch information
joshuaunity and Flix6x authored Jan 1, 2025
1 parent 82019b0 commit 1e5e35a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ def test_build_asset_status_data(
db.session.add(production_price_sensor)
db.session.flush()

asset.flex_context["consumption-price"] = {"sensor": wind_sensor.id}
asset.flex_context["production-price"] = {"sensor": production_price_sensor.id}
asset.flex_context["consumption-price-sensor"] = wind_sensor.id
asset.flex_context["production-price-sensor"] = production_price_sensor.id
asset.flex_context["inflexible-device-sensors"] = [temperature_sensor.id]
db.session.add(asset)

Expand Down

0 comments on commit 1e5e35a

Please sign in to comment.