Flow to prioritize units when trying to keep total effect under a max level

I really like the idea of building an Advanced Flow instead of relying on an app, it’s a great way to learn more about how flows work and gives you full control!

Here’s a step-by-step suggestion:

  1. Install the Strømregning app
    This app gives you the flow cards needed and tracks your energy usage over the last hour.
    You need to feed it data from a smart power meter or a device that measures consumption, as described here.
  2. Set up the devices you want to control
    Start with the lowest-priority device and assign it to turn off first at the lowest kWh threshold. Then add the next device in order of importance, with increasing kWh values. The highest-priority device should be the last to turn off, at the highest threshold (closest to your limit).
  3. Choose your kWh limits and reactivation rules
    You can customize when each device turns off/on and how soon they should be reactivated if conditions allow.
  4. Add a confirmation step for critical devices
    For high-priority devices (like an EV charger), you can add a push notification with a Yes/No option to confirm before turning it off. Or skip the notification and automate it fully.
  5. Set reactivation thresholds
    Define a lower kWh value at which your devices — especially high-priority ones — are allowed to turn back on. Make sure to turn on the lower-priority ones also if they were shut down and have not turn back on yet.
  6. Optional: Add or remove notifications
    Customize your flow with alerts depending on your preferences.


I don’t have an EV charger connected, so I’ve just used a basic card to visualize the concept.
Be sure to test the flow thoroughly before depending on it fully.
Adjust as needed to fit your setup and preferences :wink: