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

Rituals Perfume Genie switches off after prox one hour #115690

Open
dannywerd opened this issue Apr 16, 2024 · 2 comments
Open

Rituals Perfume Genie switches off after prox one hour #115690

dannywerd opened this issue Apr 16, 2024 · 2 comments

Comments

@dannywerd
Copy link

The problem

I am using the Rituals Perfume Genie integration within Home Assistant to automatically activate the Perfume Genie after sunrise and deactivate it after sunset. It's a relatively simple automation that I plan to expand upon later. However, I'm encountering an issue where the Perfume Genie automatically turns off approximately 1 hour after being activated by the automation.

Steps to Reproduce

  1. Enable the switch for the Perfume Genie in Home Assistant.
  2. Check the Rituals app and observe a scheduled time for the Perfume Genie to turn off, despite no specific schedule being set within the app.

Expected Behavior
The Perfume Genie should remain activated according to the automation set up in Home Assistant, without automatically turning off after a certain period.

Additional Information

  • I have only linked the genie within the Rituals app without setting any specific schedule.
  • This issue persists and is consistently reproducible.

Any insights or assistance on resolving this issue would be greatly appreciated. Thank you!

What version of Home Assistant Core has the issue?

core-2024.4.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Rituals Perfume Genie

Link to integration documentation on our website

https://www.home-assistant.io/integrations/rituals_perfume_genie

Diagnostics information

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.4.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Amsterdam",
"os_name": "Linux",
"os_version": "6.6.25-haos",
"supervisor": "2024.04.0",
"host_os": "Home Assistant OS 12.2",
"docker_version": "25.0.5",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"dahua": {
"version": "0.5.0",
"requirements": []
},
"hacs": {
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"dahua_vto": {
"version": "1.0.7",
"requirements": []
},
"remeha_home": {
"version": "0.1.13",
"requirements": []
},
"watchman": {
"version": "0.5.1",
"requirements": [
"prettytable==3.0.0"
]
},
"samsungtv_smart": {
"version": "0.13.4",
"requirements": [
"websocket-client!=1.4.0,>=0.58.0",
"wakeonlan>=2.0.0",
"aiofiles>=0.8.0",
"casttube>=0.2.1"
]
},
"afvalwijzer": {
"version": "2024.01.06",
"requirements": []
}
},
"integration_manifest": {
"domain": "rituals_perfume_genie",
"name": "Rituals Perfume Genie",
"codeowners": [
"@milanmeu",
"@frenck"
],
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/rituals_perfume_genie",
"iot_class": "cloud_polling",
"loggers": [
"pyrituals"
],
"quality_scale": "silver",
"requirements": [
"pyrituals==0.0.6"
],
"is_built_in": true
},
"data": {
"diffusers": [
{
"hub": {
"hublot": "REDACTED",
"hash": "REDACTED",
"status": 1,
"title": null,
"current_time": "2024-04-16T09:53",
"cached_time": "2024-04-16T09:39",
"ping_update": "25",
"attributes": {
"roomc": "2",
"speedc": "1",
"fanc": "1",
"roomnamec": "Perfume Genie Woonkamer",
"resetc": "",
"fspacenamec": "Woonkamer"
},
"sensors": {
"wific": {
"id": 9,
"sensor_id": 1,
"title": "Medium",
"description": "",
"icon": "icon-signal-75.png",
"image": "",
"discover_image": "",
"discover_url": null,
"min_value": "-89.99",
"max_value": "-70.00",
"interval": "1",
"created_at": "2017-03-10 16:16:59",
"updated_at": "2020-06-17 16:57:47",
"default": 0
},
"fillc": {
"id": 38,
"sensor_id": 3,
"title": "90-100%",
"description": "",
"icon": "icon-fill.png",
"image": "",
"discover_image": "",
"discover_url": "",
"min_value": "0",
"max_value": "2000",
"interval": "",
"created_at": "2017-10-16 07:50:23",
"updated_at": "2021-02-17 13:42:16",
"default": 0
},
"rfidc": {
"id": 62,
"sensor_id": 4,
"title": "Private Collection Suede Vanilla",
"description": "",
"icon": "background-suedevanilla.png",
"image": "background-suedevanilla.png",
"discover_image": "background-suedevanilla.png",
"discover_url": "suede-vanilla-cartridge-1114019.html",
"min_value": "056616e0",
"max_value": "056616e0",
"interval": "",
"created_at": "2022-04-25 15:07:32",
"updated_at": "2023-08-29 09:25:55",
"default": 0
},
"versionc": "5.0",
"ipc": "1712754022",
"rpsc": {
"id": 48,
"sensor_id": 12,
"title": "Fan on",
"description": "",
"icon": "",
"image": "",
"discover_image": "",
"discover_url": null,
"min_value": "5",
"max_value": "10000",
"interval": "",
"created_at": "2018-01-23 12:05:45",
"updated_at": "2019-08-01 14:54:53",
"default": 0
},
"resetc": "Power on",
"chipidc": "15024780",
"errorc": "",
"onlinec": {
"id": 31,
"sensor_id": 16,
"title": "Online",
"description": "",
"icon": "",
"image": "",
"discover_image": "",
"discover_url": null,
"min_value": "1",
"max_value": "1",
"interval": "",
"created_at": "2017-09-07 08:23:30",
"updated_at": "2017-09-07 08:23:30",
"default": 0
}
},
"settings": []
}
}
]
}
}

Example YAML snippet

alias: Woonkamer | Rituals Perfume Genie
description: ""
trigger:
  - platform: sun
    event: sunrise
    offset: 0
    id: Wanneer de zon op komt
  - platform: sun
    event: sunset
    offset: 0
    id: Wanneer de zon onder gaat
  - platform: state
    entity_id:
      - sensor.perfume_genie_woonkamer_fill
    to: "20"
    id: Wanneer cartridge bijna leeg is
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: Wanneer de zon op komt
        sequence:
          - type: turn_on
            device_id: 1db4c202b2becd20201f10a94b576192
            entity_id: 38e70f167187cf2a9d80b533b18fcc03
            domain: switch
      - conditions:
          - condition: trigger
            id: Wanneer de zon onder gaat
        sequence:
          - type: turn_off
            device_id: 1db4c202b2becd20201f10a94b576192
            entity_id: 38e70f167187cf2a9d80b533b18fcc03
            domain: switch
        alias: Uitschakelen - Zonsondergang
      - conditions:
          - condition: trigger
            id:
              - Wanneer cartridge bijna leeg is
        sequence:
          - service: telegram_bot.send_message
            metadata: {}
            data:
              title: Rituals Perfume Genie
              message: >-
                De cartridge is bijna leeg. Bestel een nieuwe op
                https://www.rituals.com/nl-nl/suede-vanilla-refill-perfume-diffuser-1115669.html
                .
mode: single

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @milanmeu, @frenck, mind taking a look at this issue as it has been labeled with an integration (rituals_perfume_genie) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of rituals_perfume_genie can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign rituals_perfume_genie Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


rituals_perfume_genie documentation
rituals_perfume_genie source
(message by IssueLinks)

@rrooggiieerr
Copy link
Contributor

From the Rituals FAQ:
Screenshot 2024-04-17 at 14 20 33

My guess would be that your issue is not a problem of the HA Integration, but "works as designed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants