Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.33k stars 247 forks source link

I get errors in my log about automation #260

Closed smarthomefamilyverrips closed 1 year ago

smarthomefamilyverrips commented 1 year ago

After doing the installation I get following errors in my log, but the panel itself seems to be fully functional

Logger: homeassistant.components.automation.nsbathroom_configuration Source: components/automation/init.py:567 Integration: Automation (documentation, issues) First occurred: 21:28:02 (135 occurrences) Last logged: 21:33:38

Error while executing automation automation.nsbathroom_configuration: expected int for dictionary value @ data['message'] Error while executing automation automation.nsbathroom_configuration: Template rendered invalid service:

Logger: homeassistant.components.automation.nsbathroom_configuration Source: helpers/script.py:409 Integration: Automation (documentation, issues) First occurred: 21:28:02 (276 occurrences) Last logged: 21:33:38

NSBathroom Configuration: Choose at step 2: choice 7: Error executing script. Invalid data for call_service at pos 4: expected int for dictionary value @ data['message'] NSBathroom Configuration: Error executing script. Invalid data for choose at pos 2: expected int for dictionary value @ data['message'] NSBathroom Configuration: Choose at step 2: choice 8: If at step 3: Error executing script. Error for call_service at pos 1: Template rendered invalid service: NSBathroom Configuration: Choose at step 2: choice 8: Error executing script. Error for if at pos 3: Template rendered invalid service: NSBathroom Configuration: Error executing script. Error for choose at pos 2: Template rendered invalid service:

ghost commented 1 year ago

Hi, please post your ESPHome yaml and your automation yaml to. Can you confirm you added the ESPHome automation in home assistant for this device?

smarthomefamilyverrips commented 1 year ago

@danwright87

Screenshot_20230127_231408_Home Assistant

alias: NSBathroom Configuration description: "" use_blueprint: path: Blackymas/nspanel_blueprint.yaml input: nspanel_name: nsbathroom language: ENG weather_entity: weather.openweathermap outdoortemp: sensor.lumi_lumi_weather_temperature humidity: sensor.lumi_lumi_weather_humidity climate: climate.bathroom left_button_name: Ceiling right_button_name: Mirror right_button_entity: light.bathroom_mirror left_button_entity: light.light_bathroom_ceiling_local button_page01_label: Bathroom button_page02_label: Office button_page03_label: Living Room button_page04_label: Outside entity01: light.light_bathroom_ceiling_local entity01_name: Ceiling entity02: light.bathroom_mirror entity02_name: Mirror entity09: light.light_office_space_local entity09_name: Ceiling entity10: switch.sonoff_100121430c entity10_name: PC entity11: cover.cover_office_cover entity11_name: Cover entity17: light.living_room_lights entity17_name: Ceiling entity25: input_button.lock_front_gate entity25_name: Front Gate

smarthomefamilyverrips commented 1 year ago

@danwright87 sorry I not understand what you mean with this "Can you confirm you added the ESPHome automation in home assistant for this device"

ghost commented 1 year ago

Sorry, I meant integration. In integrations you have to add one for ESPHome for your bathroom

smarthomefamilyverrips commented 1 year ago

@danwright87 Yes I have the device in ESPhome in HA

Screenshot_20230128_000849_Home Assistant

Screenshot_20230128_001233_Home Assistant

Blackymas commented 1 year ago

STOP XDDD

This can safely be ignored and is already fixed in dev-branch or wait for 3.1.0 stable ;) Cause is, even if nothing is assigned to a "button-slot" the blueprint tries to execute a toggle for the (not assigned) entity.

smarthomefamilyverrips commented 1 year ago

@Blackymas OK danke!