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

Referenced entities are missing or not currently available #1219

Open
Burstofinsanity opened this issue Mar 6, 2024 · 1 comment
Open

Referenced entities are missing or not currently available #1219

Burstofinsanity opened this issue Mar 6, 2024 · 1 comment

Comments

@Burstofinsanity
Copy link

Home Assistant version 2024.2.5

SmartIR version : 1.17.9

SmartIR configuration
SmartIR Climate with ESPHome

ESPHome config:
`esphome:
  name: aircon01
  friendly_name: Aircon 01

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "##############"
  services:
  - service: send_raw_command
    variables:
      command: int[]
    then:
      - remote_transmitter.transmit_raw:
          code: !lambda 'return command;'
    

ota:

wifi:
  networks:
  - ssid: !secret wifi_ssid
    password: !secret wifi_password
  - ssid: !secret wifi_ssid2
    password: !secret wifi_password2
    
  ap:
    ssid: "Esphome-Web-537Ec4"
    password: "#########"

captive_portal:
    
remote_transmitter:
  pin: 25
  carrier_duty_percent: 50%`

HA configuration.yaml

default_config:

tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
media_source: /media/local

smartir:

climate:
  - platform: smartir
    name: Office AC
    unique_id: office_ac
    device_code: 1386
    controller_data: esphome.aircon_01_send_raw_command

Describe the bug

When the service from SmartIR is called to ESPHome it says the entity is missing, but if i test it through the developer console it works fine, i have hooked up a LED to see if the board is not defective but it is working fine.

Only through SmartIR it does not work.

Debug log

`2024-03-06 10:38:35.552 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:35.554 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration tplink_router which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:35.556 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:35.557 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:35.560 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:35.562 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-06 10:38:41.904 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.907 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.908 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.909 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.911 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.912 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.918 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.920 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:41.922 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:44.066 ERROR (MainThread) [homeassistant.helpers.config_validation] The media_source integration does not support any configuration parameters, got /media/local. Please remove the configuration parameters from your configuration.
2024-03-06 10:38:49.849 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE: 9>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-03-06 10:38:49.850 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:49.850 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:49.850 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) implements HVACMode(s): off, cool, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'smartir' custom integration
2024-03-06 10:38:58.506 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Bell alarm ' trigger: In 'numeric_state' condition: unknown entity sensor.camera_02_all_count
2024-03-06 10:39:01.046 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://remotestate.nabucasa.com/request_sync (500)
2024-03-06 10:56:19.038 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities esphome.aircon_01_send_raw_command are missing or not currently available
2024-03-06 10:56:19.508 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities esphome.aircon_01_send_raw_command are missing or not currently available
@Vizualni
Copy link

I can confirm. The same thing is happening on my end.

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