Wake On LAN - Didn't create an Entity/Switch

Hi all!

I’ve a problem setting up WOL Switch, after i correctly configure it in the configuration.yaml an entity/switch never appear in HA.
I copied my config in a new HA installation and it works fine.

# in configuration.yaml
wake_on_lan:
# SWITCH
switch:
  - platform: wake_on_lan
    name: "PC Matteo NEWWW"
    mac: c8:7f:54:06:70:58
    host: 192.168.128.100

Production Istance:


No Switch
image

Test instance:


Switch present and work
image

Any sudgestions on why no Switches is gonna be created if all it’s correct ?

*I’ve a running installation of home assistant and olmost never had a issue for 2+ years.

Thank to all are gonna try to help me!
Matteo.

We don’t know what’s different between the two installations - there may be a difference between them where one thing is now supported in configure, where it’s not in an older version. Please post the config whether you believe you need to or not.

# in configuration.yaml
wake_on_lan:
switch:
  - platform: wake_on_lan
    name: "PC Matteo"
    mac: c8:7f:54:ZZ:YY:XX
    host: 192.168.YYY.XXX

The test HA instance and the production one is at the same version 2023.4.3

Thank for the reply.