From 7d732ce699695c2e0d2f0e3c38443d0a5ea12852 Mon Sep 17 00:00:00 2001
From: Przemek Grondek <przemek@grondek.pl>
Date: Wed, 5 Jan 2022 00:19:58 +0100
Subject: [PATCH] Fix 3D Printer automations

 change entity_id after switch to openzwave
---
 configuration/automations/3d-printer.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configuration/automations/3d-printer.yaml b/configuration/automations/3d-printer.yaml
index 244d2f4..ba91c9b 100644
--- a/configuration/automations/3d-printer.yaml
+++ b/configuration/automations/3d-printer.yaml
@@ -5,7 +5,7 @@
     - type: value
       platform: device
       device_id: 58e9b8fc848631004a3c1e303ff25229
-      entity_id: sensor.3d_printer_power
+      entity_id: sensor.3d_printer_electric_consumption_w
       domain: sensor
       below: 30
       for:
@@ -77,7 +77,7 @@
               entity_id: binary_sensor.octoprint_printing
               state: 'off'
             - condition: numeric_state
-              entity_id: sensor.3d_printer_power
+              entity_id: sensor.3d_printer_electric_consumption_w
               below: '30'
           sequence:
             - service: switch.turn_off