Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depricated Constants #85

Open
cap60552 opened this issue Feb 11, 2024 · 0 comments
Open

Depricated Constants #85

cap60552 opened this issue Feb 11, 2024 · 0 comments

Comments

@cap60552
Copy link

Version of the custom_component

Component Version: v0.0.11

Core: 2024.2.1
Supervisor: 2024.01.1
Operating System: 11.5
Frontend: 20240207.1

Configuration

homeassistant:

  name: Home

  # Location required to calculate the time the sun rises and sets
  latitude: #REDACTED#
  longitude: #REDACTED#
  
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 232
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Chicago
  country: US
  
  allowlist_external_dirs:
    - "/tmp"
    
  # Customization file
  customize: !include customize.yaml
  packages: !include_dir_named packages

# Show links to resources in log and frontend
# introduction:

# Enables the frontend
frontend: 
  themes: !include themes.yaml

# Enables configuration UI
config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
  use_x_forwarded_for: true
  trusted_proxies: 
    - #REDACTED#
    - #REDACTED#
  
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Person Integration
person:

# Mobile App Integration
mobile_app:

# Allow diagnosing system problems
system_health:

# Custom Quirk Support for ZHA  
zha:
  enable_quirks: true
  custom_quirks_path: /config/custom_zha_quirks
  database_path: /config/zigbee.db 
  
# Scene Editor
scene: !include scenes.yaml

# Sensors
sensor:
  - platform: template
    sensors:

      generac_##REDACTED##_last_seen_localized:
        friendly_name: Last Updated
        value_template: >-
          {{ as_timestamp(states("sensor.generac_##REDACTED##_last_seen")) | timestamp_custom("%-I:%M %p") }}   


# Text to speech
tts:
  - platform: google_translate
    service_name: google_say

group: !include groups.yaml
script gui: !include scripts.yaml
script: !include_dir_merge_named scripts
automation: !include automations.yaml

cover:
        
# Device Tracking
device_tracker:

logger:
  default: info

weather:

default_config:

input_boolean:

timer:

input_text:

input_number:

input_button:

schedule:

counter:

input_datetime:

mqtt:

Logs

2024-02-10 18:52:27.658 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up generac.binary_sensor
2024-02-10 18:52:27.672 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from generac, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/bentekkie/ha-generac/issues
2024-02-10 18:52:27.678 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from generac, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/bentekkie/ha-generac/issues
2024-02-10 18:52:27.681 INFO (MainThread) [homeassistant.components.sensor] Setting up generac.sensor
2024-02-10 18:52:27.689 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from generac, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/bentekkie/ha-generac/issues
2024-02-10 18:52:27.698 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from generac, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/bentekkie/ha-generac/issues
2024-02-10 18:52:27.698 INFO (MainThread) [homeassistant.components.weather] Setting up generac.weather
2024-02-10 18:52:27.700 INFO (MainThread) [homeassistant.components.image] Setting up generac.image
2024-02-10 18:52:28.102 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform generac
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1325, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 989, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1110, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1047, in __async_calculate_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 549, in state
    value = self.native_value
            ^^^^^^^^^^^^^^^^^
  File "/config/custom_components/generac/sensor.py", line 232, in native_value
    return datetime.strptime(
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/_strptime.py", line 555, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/_strptime.py", line 333, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '2022-02-13T23:02:35+00:00' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'
2024-02-10 18:52:28.108 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up generac platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1325, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 989, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1110, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1047, in __async_calculate_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 549, in state
    value = self.native_value
            ^^^^^^^^^^^^^^^^^
  File "/config/custom_components/generac/sensor.py", line 232, in native_value
    return datetime.strptime(
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/_strptime.py", line 555, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/_strptime.py", line 333, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '2022-02-13T23:02:35+00:00' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'

Describe the bug

Home Assistant is reporting the use of deprecated constants that will be removed in HA Core 2025.1

Debug log

2024-02-10 19:52:40.384 DEBUG (MainThread) [custom_components.generac] Refreshing data for generac
2024-02-10 19:52:40.984 DEBUG (MainThread) [custom_components.generac] getEndpoint [{"apparatusId": ##REDACTED##, "serialNumber": "3007856307", "name": "##REDACTED##", "type": 0, "localizedAddress": "##REDACTED##", "materialDescription": null, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg", "apparatusStatus": 1, "isConnected": true, "isConnecting": false, "showWarning": false, "weather": {"temperature": {"value": 37.0, "unit": "F", "unitType": 18}, "iconCode": 38}, "preferredDealerName": "##REDACTED##", "preferredDealerPhone": "##REDACTED##", "preferredDealerEmail": "##REDACTED##", "isDealerManaged": true, "isDealerUnmonitored": false, "modelNumber": "G0071780", "panelId": "21", "properties": [{"name": "Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged", "value": {"type": 3, "status": 1, "isLegacy": false, "isDunning": false}, "type": 2}, {"name": "Device", "value": {"deviceId": "48bbaee8-6132-41c7-9eef-9dd7d9afacfa", "deviceType": "wifi", "signalStrength": "34%", "batteryLevel": null, "status": "Online", "networkType": "wifi"}, "type": 3}], "values": null, "provisioned": "2021-05-13T18:20:21.4670671Z"}]
2024-02-10 19:52:41.390 DEBUG (MainThread) [custom_components.generac] getEndpoint {"apparatusId": ##REDACTED##, "name": "##REDACTED##", "serialNumber": "3007856307", "apparatusClassification": 0, "panelId": "21", "activationDate": "2021-05-13T00:00:00Z", "deviceType": "wifi", "deviceSsid": "##REDACTED##", "shortDeviceId": null, "networkType": "wifi", "apparatusStatus": 1, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg", "statusLabel": "Ready to run", "statusText": "Your generator is ready to run.", "eCodeLabel": null, "weather": {"temperature": {"value": 37.0, "unit": "F", "unitType": 18}, "iconCode": 38}, "isConnected": true, "isConnecting": false, "showWarning": false, "hasMaintenanceAlert": false, "lastSeen": "2024-02-11T01:40:17.445+00:00", "connectionTimestamp": "2022-02-13T23:02:35+00:00", "address": {"line1": "##REDACTED##", "line2": null, "city": "##REDACTED##", "region": "IL", "country": "US", "postalCode": "##REDACTED##"}, "properties": [{"name": null, "value": 16, "type": 70}, {"name": null, "value": "720", "type": 93}, {"name": null, "value": "14.0", "type": 69}, {"name": "Hours of Protection", "value": 24096.0, "type": 31}], "tuProperties": [], "subscription": {"type": 3, "status": 1, "isLegacy": false, "isDunning": false}, "enrolledInVpp": false, "hasActiveVppEvent": false, "productInfo": [{"name": "ProductType", "value": "gs", "type": 0}, {"name": "Description", "value": "16KW GUARDIAN+200A SE T/SW AL", "type": 0}], "disconnectedNotification": null, "hasDisconnectedNotificationsOn": false}
2024-02-10 19:52:41.391 DEBUG (MainThread) [custom_components.generac] Finished fetching generac data in 1.007 seconds (success: True)
2024-02-10 19:52:41.392 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_is_connected: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.392 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_is_connecting: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.392 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_has_maintenance_alert: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.392 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_show_warning: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.393 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_status: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.393 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_run_time: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.393 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_protection_time: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.394 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_activation_date: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.395 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_last_seen: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
2024-02-10 19:52:41.410 DEBUG (MainThread) [custom_components.generac] Updated data for f0c2c3b8a4e08ff0037fd7b0e6d726df_##REDACTED##_generac_##REDACTED##_connection_time: Item(apparatus=Apparatus(apparatusId=##REDACTED##, serialNumber='3007856307', name='##REDACTED##', type=0, localizedAddress='##REDACTED##', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), preferredDealerName='##REDACTED##', preferredDealerPhone='##REDACTED##', preferredDealerEmail='##REDACTED##', isDealerManaged=True, isDealerUnmonitored=False, modelNumber='G0071780', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/##REDACTED##/SubscriptionsManaged', value=Apparatus.Property.Value(type=3, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='48bbaee8-6132-41c7-9eef-9dd7d9afacfa', deviceType='wifi', signalStrength='34%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=##REDACTED##, name='##REDACTED##', serialNumber='3007856307', apparatusClassification=0, panelId='21', activationDate='2021-05-13T00:00:00Z', deviceType='wifi', deviceSsid='##REDACTED##', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0071780.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=37.0, unit='F', unitType=18), iconCode=38), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2024-02-11T01:40:17.445+00:00', connectionTimestamp='2022-02-13T23:02:35+00:00', address=Address(line1='##REDACTED##', line2=None, city='##REDACTED##', region='IL', country='US', postalCode='##REDACTED##'), properties=[ApparatusDetail.Property(name=None, value=16, type=70), ApparatusDetail.Property(name=None, value='720', type=93), ApparatusDetail.Property(name=None, value='14.0', type=69), ApparatusDetail.Property(name='Hours of Protection', value=24096.0, type=31)], subscription=Subscription(type=3, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='16KW GUARDIAN+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False), empty=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant