All lights in area on at dusk

hello all,
i have a problem getting the 2 GE branded light switches [discovered as: jasco_products_unknown_type_4952_id_3137] to respond to the power on automation. one works fine[front door], the other does not turn on at dusk[side door]. they are identical switches and if either manually switched on or using the dashboard i can turn on or off the offending switch called “side door light” but it won’t follow the automation. both have their neutral wire connected but there is no ground due to the age of the house. there are no errors generated the side door light just does not turn on as the front door light does.

does anyone have any ideas as to what i should be checking for? I am new to all this, these are my 2nd and 3rd devices to attempt to automate the first being a simple lamp module which also works fine.
thanks in advance

home assistant is running in a docker container on a raspberry pi4, version 0.116.4:
System Health [sorry for the formatting, cut and paste from dashboard]

|arch|armv7l|
| --- | --- |
|dev|false|
|docker|true|
|hassio|false|
|installation_type|Home Assistant Container|
|os_name|Linux|
|os_version|5.4.72-v7l+|
|python_version|3.8.5|
|timezone|America/New_York|
|version|0.116.4|
|virtualenv|false|

from configuration.yaml:

  • id: ‘1605384515798’
    alias: Front Door light on
    description: Turn on the GE switch at front door
    trigger:
    • platform: sun
      event: sunset
      condition: []
      action:
    • type: turn_on
      device_id: f07d90a126af11eb84660fd2137852f3
      entity_id: switch.jasco_products_unknown_type_4952_id_3137_switch
      domain: switch
      mode: single
  • id: ‘1605411241999’
    alias: Front Door light off
    description: Turn off the GE switch at front door
    trigger:
    • platform: sun
      event: sunset
      offset: 07:00
      condition: []
      action:
    • type: turn_off
      device_id: f07d90a126af11eb84660fd2137852f3
      entity_id: switch.jasco_products_unknown_type_4952_id_3137_switch
      domain: switch
      mode: single
  • id: ‘1605728979792’
    alias: Side Door lights on
    description: Turn on the GE switch at side door
    trigger:
    • platform: sun
      event: sunset
      condition: []
      action:
    • type: turn_off
      device_id: c5ce17a729cc11eb8b91f7a643f25b43
      entity_id: switch.jasco_products_unknown_type_4952_id_3137_switch_2
      domain: switch
      mode: single
  • id: ‘1605729073331’
    alias: Side Door light off
    description: Turn on the GE switch at side door
    trigger:
    • platform: sun
      event: sunset
      offset: 07:00
      condition: []
      action:
    • type: turn_off
      device_id: c5ce17a729cc11eb8b91f7a643f25b43
      entity_id: switch.jasco_products_unknown_type_4952_id_3137_switch_2
      domain: switch
      mode: single

Welcome to the forums. Could you please read this How to help us help you - or How to ask a good question and then format your code properly.