Unable to restart HA due to Exception importing custom_components.ssh.sensor

Not sure how this happened but I am no longer able to restart HA. I get the following error

2023-07-28 10:09:05.006 ERROR (MainThread) [homeassistant.components.hassio] The system cannot restart because the configuration is not valid: Platform error sensor.ssh - Exception importing custom_components.ssh.sensor
2023-07-28 10:09:05.007 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139698139323536] The system cannot restart because the configuration is not valid: Platform error sensor.ssh - Exception importing custom_components.ssh.sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
    return await cast(
           ^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 579, in async_handle_core_service
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error sensor.ssh - Exception importing custom_components.ssh.sensor

I’ve tried reinstalling the ssh custom component and deleting the contents. Not sure what else to try.

I wanted to update that I figured it out. Not sure why the SSH stopped working, but I found a small snippet of code in my sensor.yaml that had a single reference to ssh. It was to pull temp data from my raspberry pi. I commented it out and now everything works.