tibber component provides a sensor with the current electricity price if you are a Tibber customer.
If you have a Tibber Pulse it will also show the electricity consumption in real time.
It also provides a notification service.
Go to developer.tibber.com/ to get your API token.
To add Tibber to your installation, add the following to your
tibber: access_token: YOUR_ACCESS_TOKEN