better_thermostat icon indicating copy to clipboard operation
better_thermostat copied to clipboard

Target temperature changing at random

Open kbunto opened this issue 5 months ago • 6 comments

Disclaimer: My first bug report, will updated with other information if I missed the mark here. May also be resolved if anyone know where I can find the trigger for target temperature changes in BT.

Prerequisites

  • Aqara SRTS-A01

  • [ ] Output from Home Assistant Developer Tools state e.g.

hvac_modes: heat, off min_temp: 5 max_temp: 30 target_temp_step: 0.5 preset_modes: none current_temperature: 26.3 temperature: 25 hvac_action: idle preset_mode: none window_open: false call_for_heat: true last_change: 2024-09-09T08:27:01.815908 saved_temperature: null humidity: 53 main_mode: off tolerance: 0 heating_power: 0.0115 errors: [] batteries: {"sensor.bathroom_air_temperature": {"battery": "77", "battery_id": "sensor.bathroom_air_battery"}, "sensor.bathroom_air_humidity": {"battery": "77", "battery_id": "sensor.bathroom_air_battery"}, "climate.bathroom_floor": {"battery": "31", "battery_id": "sensor.bathroom_floor_battery"}} friendly_name: Bathroom_floor_virtual supported_features: 401

  • [ ] Output from Home Assistant Device Diagnostic from BT
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.9.1",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Oslo",
    "os_name": "Linux",
    "os_version": "6.6.46-haos",
    "supervisor": "2024.08.0",
    "host_os": "Home Assistant OS 13.1",
    "docker_version": "26.1.4",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "better_thermostat": {
      "documentation": "https://github.com/KartoffelToby/better_thermostat",
      "version": "1.6.0",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "nordpool": {
      "documentation": "https://github.com/custom-components/nordpool/",
      "version": "0.0.14",
      "requirements": [
        "nordpool>=0.2",
        "backoff"
      ]
    },
    "home_connect_alt": {
      "documentation": "https://github.com/ekutner/home-connect-hass",
      "version": "1.1.7",
      "requirements": [
        "home-connect-async==0.8.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "better_thermostat",
    "name": "Better Thermostat",
    "after_dependencies": [
      "climate"
    ],
    "codeowners": [
      "kartoffeltoby"
    ],
    "config_flow": true,
    "dependencies": [
      "climate",
      "recorder"
    ],
    "documentation": "https://github.com/KartoffelToby/better_thermostat",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues",
    "requirements": [],
    "version": "1.6.0",
    "is_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 0.0001070479629561305
    },
    "636449213170863fc7f034ab12afd6fe": {
      "wait_import_platforms": -1.7203250619932078,
      "config_entry_setup": 1.863598430994898
    },
    "c619aad3aa64d82a61e7679af01d5717": {
      "wait_import_platforms": -1.8634021090110764,
      "config_entry_setup": 1.871203135990072
    }
  },
  "data": {
    "info": {
      "name": "Bathroom_floor_virtual",
      "temperature_sensor": "sensor.bathroom_air_temperature",
      "tolerance": 0.0,
      "target_temp_step": 0.0,
      "humidity_sensor": "sensor.bathroom_air_humidity",
      "weather": "weather.forecast_home_2",
      "off_temperature": 25,
      "window_sensors": null,
      "outdoor_sensor": null,
      "cooler": null,
      "window_off_delay": 0,
      "window_off_delay_after": 0,
      "model": "SRTS-A01"
    },
    "thermostat": {
      "climate.bathroom_floor": {
        "name": "Bathroom_floor",
        "state": "heat",
        "attributes": {
          "hvac_modes": [
            "off",
            "heat"
          ],
          "min_temp": 5.0,
          "max_temp": 30.0,
          "target_temp_step": 0.5,
          "preset_modes": [
            "none",
            "manual",
            "away",
            "auto"
          ],
          "current_temperature": 30.4,
          "temperature": 29.5,
          "preset_mode": "manual",
          "friendly_name": "Bathroom_floor",
          "supported_features": 401
        },
        "bt_config": {
          "calibration": "target_temp_based",
          "calibration_mode": "heating_power_calibration",
          "protect_overheating": false,
          "no_off_system_mode": false,
          "heat_auto_swapped": false,
          "child_lock": false,
          "homaticip": false
        },
        "bt_adapter": "mqtt",
        "bt_integration": "mqtt",
        "model": "SRTS-A01"
      }
    },
    "external_temperature_sensor": {
      "entity_id": "sensor.bathroom_air_temperature",
      "state": "26.3",
      "attributes": {
        "state_class": "measurement",
        "unit_of_measurement": "\u00b0C",
        "device_class": "temperature",
        "friendly_name": "Bathroom_air Temperature"
      },
      "last_changed": "2024-09-09T11:14:50.238617+00:00",
      "last_reported": "2024-09-09T11:14:50.238617+00:00",
      "last_updated": "2024-09-09T11:14:50.238617+00:00",
      "context": {
        "id": "01J7B7WP7YQPQZ3NSK0VFNR0KA",
        "parent_id": null,
        "user_id": null
      }
    },
    "window_sensor": "-"
  }
}

Description

Target temperature changing to 30 deg. C at seemingly random times. Strangely it only happens for one of two SRTS-A01 in my better thermostat setup.

Steps to Reproduce

Unknown, happens rarely and I have not found a pattern.

Expected behavior:

Target temperature to stay where it should.

Actual behavior:

Target temperature changes at seemingly random times to 30 deg. C.

Versions

BT: 1.6.0 HA: 2024.9.1

Additional Information

kbunto avatar Sep 09 '24 12:09 kbunto