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

helpers/deprecation.py:205[Bug] <short description of issue> #537

Closed
Ace0510 opened this issue Jan 9, 2024 · 3 comments
Closed

helpers/deprecation.py:205[Bug] <short description of issue> #537

Ace0510 opened this issue Jan 9, 2024 · 3 comments
Labels
bug Something isn't working Stale

Comments

@Ace0510
Copy link

Ace0510 commented Jan 9, 2024

Describe the bug
Logger: homeassistant.components.siren
Source: helpers/deprecation.py:205
Integration: Siren (documentation, issues)
First occurred: 11:37:07 AM (4 occurrences)
Last logged: 11:37:07 AM

SUPPORT_TURN_OFF was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_OFF instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
SUPPORT_TURN_ON was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_ON instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
SUPPORT_ALARM_ARM_HOME was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_HOME instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
SUPPORT_ALARM_ARM_AWAY was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
TEMP_FAHRENHEIT was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
TEMP_CELSIUS was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
Logger: homeassistant.util.logging
Source: util/logging.py:102
First occurred: 11:37:18 AM (10 occurrences)
Last logged: 11:45:11 AM

Exception in handle_camera_update when dispatching 'wyzeapi.camera_updated-GW_GC2_D03F2777F7D7': (<Device: DeviceTypes.CAMERA, GW_GC2_D03F2777F7D7>,) Traceback (most recent call last): File "/config/custom_components/wyzeapi/switch.py", line 455, in handle_camera_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 941, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1062, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.__async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 999, in __async_calculate_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 947, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1553, in state if (is_on := self.is_on) is None: ^^^^^^^^^^ File "/config/custom_components/wyzeapi/switch.py", line 444, in is_on return self._device.motion ^^^^^^^^^^^^^^^^^^^ AttributeError: 'Camera' object has no attribute 'motion'
To Reproduce
Steps to reproduce the behavior:

  1. Go to '..logs.'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

System configuration
Core
2024.1.2
Supervisor
2023.12.0
Operating System
11.3
Frontend
20240104.0
WyzeApi Version:

home-assistant.log

<PUT YOUR LOG HERE>
@Ace0510 Ace0510 added the bug Something isn't working label Jan 9, 2024
@dualtronic
Copy link

These errors really fill the logs. Hope it can be updated without too much trouble.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Feb 14, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants