Home assistant not updating entity state

I have 2 buttons setup 1 for when my PC is turned on and the other show when the pc is turned off, but for some reach since the latest HA update my pc no longer seems to change visibility states to show that its switched on or off

> type: custom:bubble-card
> card_type: button
> entity: switch.dean_pc
> name: Power On
> icon: mdi:laptop
> show_state: false
> styles: |
>   .bubble-button-background{
>     background-color:unset !important;
>   }
>   .switch-button {
>     background-color: #37db53 !important;
>     color: #282828;  
>   }
>   .button-container {
>     border: 3px solid #37db53;
>   }
>   .icon-container .icon {
>     color: unset !important; 
>   }
>   .icon-container .icon {
>     color: #37db53 !important;
>   }
> visibility:
>    condition: state
>     entity: switch.dean_pc
>     state: "off"
> type: custom:bubble-card
> card_type: button
> entity: switch.dean_pc_shutdown
> name: Shutdown
> icon: mdi:laptop-off
> show_state: false
> styles: |
>   ha-card {
>     display: ${state === 'off' ? 'block' : 'none'} !important;
>   }
>   .switch-button {
>     background-color: #db4437 !important; 
>   }
>   .button-container {
>     border: 3px solid #db4437;
>   }
>   .icon-container .icon {
>     color: unset !important; 
>   }
>   .icon-container .icon {
>     color: #db4437 !important;
>   }
> visibility:
>    condition: state
>     entity: switch.dean_pc
>     state: "on"

i checked hass.agent and the connection seems to be ok, even when adding normal buttons it states the pc is off even though its currently on. i dont know what else i can try., anyone got any hints ?

solved it,

apparently there was also a windows update that i didn’t see which disabled ICMPv4 on the firewall