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

Depreciation Warning and Error #338

Open
Nick425321 opened this issue Aug 17, 2024 · 4 comments
Open

Depreciation Warning and Error #338

Nick425321 opened this issue Aug 17, 2024 · 4 comments

Comments

@Nick425321
Copy link

I noticed today one of my S30 zones was set incorrectly and after poking around I found these error/warning messages in the log, the warning I understand, but the error I cannot figure it out. Please let me know if you need any other info/log.

Here is the script/action:

alias: iComfort Close Openings No Guests Mode
sequence:

  • if:
    • condition: device
      device_id: 788e9a8df376b12ec1459495142f2e5f
      domain: climate
      entity_id: 19bdfa3fa4eb5510fb73872f9bcf35a3
      type: is_preset_mode
      preset_mode: Windows Open
      then:
    • alias: "Change Mode Cancel Windows Open "
      device_id: 788e9a8df376b12ec1459495142f2e5f
      domain: climate
      entity_id: 19bdfa3fa4eb5510fb73872f9bcf35a3
      type: set_preset_mode
      preset_mode: schedule IQ
  • delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 800
    enabled: true
  • device_id: 788e9a8df376b12ec1459495142f2e5f
    domain: climate
    entity_id: 19bdfa3fa4eb5510fb73872f9bcf35a3
    type: set_preset_mode
    preset_mode: schedule IQ
  • delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 800
    enabled: true
  • device_id: 39911a62cd0a0e8f902c47f4a91ec230
    domain: climate
    entity_id: 7537c311ff9124fcc2d37428b2c9cc87
    type: set_preset_mode
    preset_mode: Z2 Master Bedroom
  • delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 800
    enabled: true
  • type: turn_off
    device_id: ee9700bf4e835fff252710418c94aa96
    entity_id: 5f4c801f8819504024825ec9a1511755
    domain: switch
  • delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 800
    enabled: true
  • device_id: 19078cd81ce62d9a52c9d137d7b2fe13
    domain: climate
    entity_id: 7ee505503ad2c0b146a3f9f7ae5e7144
    type: set_preset_mode
    preset_mode: Z3 Front Rooms
  • delay:
    hours: 0
    minutes: 0
    seconds: 0
    milliseconds: 800
    enabled: true
  • device_id: 788e9a8df376b12ec1459495142f2e5f
    domain: climate
    entity_id: 19bdfa3fa4eb5510fb73872f9bcf35a3
    type: set_preset_mode
    preset_mode: cancel hold
    mode: single
    icon: mdi:script-text-play-outline
    description: ""

Logger: homeassistant.components.script.icomfort_close_openings_no_guests_mode
Source: helpers/script.py:2030
integration: Script (documentation, issues)
First occurred: 14:34:09 (1 occurrences)
Last logged: 14:34:09

iComfort Close Openings No Guests Mode: Error executing script. Error for device at pos 5: Entity climate.icomfort_z2_mastersuite does not support this service.

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1637
First occurred: 14:30:02 (2 occurrences)
Last logged: 14:30:02

Entity climate.icomfort_z2_mastersuite (<class 'custom_components.lennoxs30.climate.S30Climate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature: 0>, please create a bug report at https://github.com/PeteRager/lennoxs30/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Entity climate.icomfort_z3_front (<class 'custom_components.lennoxs30.climate.S30Climate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature: 0>, please create a bug report at https://github.com/PeteRager/lennoxs30/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Version | core-2024.8.2 -- | -- Installation type | Home Assistant OS Development | false Supervisor | true Docker | true User | root Virtual environment | false Python version | 3.12.4 Operating system family | Linux Operating system version | 6.6.31-haos-raspi CPU architecture | aarch64 Timezone | America/Los_Angeles Configuration directory | /config
@PeteRager
Copy link
Owner

PeteRager commented Aug 18, 2024

It looks like you are on a very old version of the integration. What version are you running?

it also appears you have the HomeKit integration installed and are using it from HomeKit, you should be using the climate entities from the Lennox integrations

deviceids in automations are problematic. Please review this article
https://community.home-assistant.io/t/why-and-how-to-avoid-device-ids-in-automations-and-scripts/605517

@Nick425321
Copy link
Author

Nick425321 commented Aug 18, 2024 via email

@PeteRager
Copy link
Owner

Please attach the diagnostics file for the integration.

@Nick425321
Copy link
Author

Nick425321 commented Aug 18, 2024 via email

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

2 participants