New user automation not show in UI and Zwave error

Hello

Moving from another program to HA.
Running everything in a docker environment on Ubuntu.
I got 2 problems for the moment.
My script/automation/scene or blueprints i create is not showing in the UI.
If i look into the yaml file i see the create script/automation
This is just 1 example of a yaml file but i try script/automation/scene

- id: '1679514794945'
  alias: test
  description: ''
  use_blueprint:
    path: homeassistant/motion_light.yaml
    input:
      motion_entity: binary_sensor.0xa4c138b87a0986d0_occupancy
      light_target:
        entity_id: switch.schakelaar_living_l1
      no_motion_wait: 60

I read everything here in the forum and what i can see is everything correct in my configuration file.


# Loads default set of integrations. Do not remove.
default_config:
   group:  !include groups.yaml
   automation:  !include automations.yaml
   script:  !include scripts.yaml
    scene:  !include scenes.yaml

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

Second problem:
I have integrated my zwave devices into mqqt.
All my switches and devices working correct except for two 3 gang wall switches.
The state in HA is 1 button Enabled en 2 disabled.
If i disable the enabled button it’s automatic switches back to enabled and if i enable the disabled button it switch back to disabled.
It’s not replicated the live state of the switch
In zwavejs front-end everything worked like it should be.

2023-03-23_00-13-28

Did i missed something in the setup/configuration that i not see

Regards ,

HA shows the intent (disable) but if no response it guess the state or show previous state (enable). My guess is HA is not properly talking to zwave

What are you using for zwave. Zwavejsui? This dont need mqtt and better to use websocket i believe.

You must manually add a button for these into the UI. You may also find them in

settings >> automations & scenes
OR
developer tools >> states

1 Like

hello and thank you for your help
My first problem is solved.
I running zwavejsin a different docker ,so i disable the mqqt and enabled the ws.
Make the correct config and install zwavejs in HA and connect to the correct ip and all my devices are working now :slight_smile:

But the automation and script is still a pain in the…
I started simple from within my device because i’m new to yaml.

When i look into the automation yaml file is see the test script (very simple if motion then turn on light)

but when i look into HA is did not see the scripts and the scripts are not working
Is there somewhere a log file that i can check.

thx you for your support

Its a blueprint

Look at HA UI >> [hamburger icon] >> settings >> Automations &Scenes

Here you will see tabs for automations, scenes, and blueprints

Automations are in automations
Blueprints are in blueprints
Scenes in scenes

Look here first

nope i already checked that
the automation did not work 2.
I activate the motion sensor but the ligh does not go on.
The name’s that are inside ar automatic inserted when i add my Zigbee




Its there as β€œMotion-activated Light”

Not sure if you can select the blueprints like you can automations and see a trace

HA logs should show the automation being loaded i believe

You need to verify the occupancy sensor provide the input expected
You also have a switch entity instead if light entity. Depending on service used for ON/OFF it may not work

Homeasstant.turn_on work for light and swtich
Light.turn_on service only work for lights

It may be easier to create an automation to make this work instead of using someone blueprint

everything works fine now
For some reasons i doubled this

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

But once with the include and in the end of the configuration file with all the zigbee scripts so the first include was overridden.

:slight_smile:

Thx