SmartHashtag icon indicating copy to clipboard operation
SmartHashtag copied to clipboard

climate entity not showing

Open daniel-streetec opened this issue 1 month ago • 2 comments

Version of the custom_component

0.7.4

Describe the bug

Climate entity is not being displayed / available.

Configuration

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homekit: !include homekit.yaml

logger:
  default: info
  logs:
    custom_components.smarthashtag: debug

Debug log

2025-11-09 09:54:57.167 WARNING (MainThread) [pysmarthashtag.vehicle.climate] Climate info not available: 'interiorPM25'
2025-11-09 09:54:57.449 WARNING (MainThread) [pysmarthashtag.vehicle.climate] Climate info not available: 'interiorPM25'
2025-11-09 09:54:58.083 WARNING (MainThread) [pysmarthashtag.vehicle.climate] Climate info not available: 'interiorPM25'

daniel-streetec avatar Nov 12 '25 10:11 daniel-streetec

Which type of Smart do you have? My #1 still has the value in it's climate info.

DasBasti avatar Nov 15 '25 21:11 DasBasti

I can see the same Error in may system logs with a #1

aquisgranum avatar Nov 26 '25 22:11 aquisgranum

Interesting... Can you send one of the lines starting with [pysmarthashtag.account] Got response 200 from If you don't want to post your VIN, remove it form the line. It is included two times. You can also remove the sessionId field, since that is not needed either.

Or simply wait, I am working on making logging better and removing these kind of information.

DasBasti avatar Nov 29 '25 22:11 DasBasti

I have set debug logging to on but I cant find a line that starts like this.

aquisgranum avatar Nov 30 '25 16:11 aquisgranum

Oh, my bad, you need to add another line for debugging the library as well:

logger:
  default: info
  logs:
    custom_components.smarthashtag: debug
    pysmarthashtag: debug

DasBasti avatar Nov 30 '25 17:11 DasBasti

Maybe this can help

2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.account] Got response 200
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.account] Found vehicle {'factoryCode': '6105', 'colorName': 'B07 MOYU BLACK', 'isIHUConfirm': False, 'temId': '***DELETED***', 'ihuPlatform': 'tsp', 'ihuId': '***DELETED***', 'carProveStatus': 'N', 'fuelTankCapacity': '0', 'seriesCodeVs': 'HX11', 'iccid': '***DELETED***', 'current': False, 'modelCode': 'HX11-24Y_EUL_Pro+_RWD_000', 'vehicleOwnerLastTime': ***DELETED***, 'vin': '***DELETED***', 'fccode': '6105', 'id': ***DELETED***, 'msisdn': '***DELETED***', 'vehicleType': 0, 'engineNo': '', 'temType': '', 'plateNo': '', 'tboxPlatform': 'tsp', 'seriesName': 'HX11', 'updateTime': 1764604136000, 'vehiclePhotoSmall': '', 'modelName': 'HX11-24Y_EUL_Pro+_RWD_000', 'proprietaryPlatform': 0, 'recordTime': 1735282464000, 'createTime': 1735282464000, 'simActivited': -1, 'vehiclePhotoBig': '', 'loginInfo': {'isLogined': 0, 'loginUid': ''}, 'colorCode': '026', 'defaultVehicle': True, 'matCode': '***DELETED***', 'shareStatus': 'N'}
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.vehicle.battery] Parsing battery data
2025-12-02 19:28:40.497 INFO (MainThread) [pysmarthashtag.vehicle.battery] Battery info not available: 'vehicleStatus'
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.vehicle.tires] Parsing tire data
2025-12-02 19:28:40.497 INFO (MainThread) [pysmarthashtag.vehicle.tires] Tire info not available: 'vehicleStatus'
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.vehicle.position] Parsing position data
2025-12-02 19:28:40.497 INFO (MainThread) [pysmarthashtag.vehicle.position] Position data not available in vehicle data
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.vehicle.climate] Parsing climate data
2025-12-02 19:28:40.497 DEBUG (MainThread) [pysmarthashtag.vehicle.safety] Parsing safety data
2025-12-02 19:28:40.498 DEBUG (MainThread) [pysmarthashtag.vehicle.vehicle] Selected Vehicle is Smart #1 use V1 API
2025-12-02 19:28:40.498 DEBUG (MainThread) [pysmarthashtag.vehicle.vehicle] Initialized vehicle HX11-24Y_EUL_Pro+_RWD_000 (***DELETED***)
2025-12-02 19:28:40.499 DEBUG (MainThread) [pysmarthashtag.account] Getting vehicle data
2025-12-02 19:28:40.499 DEBUG (MainThread) [pysmarthashtag.account] Selecting vehicle
2025-12-02 19:28:40.499 DEBUG (MainThread) [pysmarthashtag.api.utils] Creating signature for request
2025-12-02 19:28:40.499 DEBUG (MainThread) [pysmarthashtag.api.utils] Constructed request header for POST /device-platform/user/session/update
2025-12-02 19:28:40.499 DEBUG (MainThread) [pysmarthashtag.api.client] Request: POST https://api.ecloudeu.com/device-platform/user/session/update
2025-12-02 19:28:40.662 DEBUG (MainThread) [pysmarthashtag.api.client] Response: POST https://api.ecloudeu.com/device-platform/user/session/update - Status 200
2025-12-02 19:28:40.662 DEBUG (MainThread) [pysmarthashtag.account] Got response 200
2025-12-02 19:28:40.662 DEBUG (MainThread) [pysmarthashtag.account] Getting information for vehicle
2025-12-02 19:28:40.662 DEBUG (MainThread) [pysmarthashtag.api.utils] Creating signature for request
2025-12-02 19:28:40.662 DEBUG (MainThread) [pysmarthashtag.api.utils] Constructed request header for GET /remote-control/vehicle/status/***DELETED***
2025-12-02 19:28:40.663 DEBUG (MainThread) [pysmarthashtag.api.client] Request: GET https://api.ecloudeu.com/remote-control/vehicle/status/***DELETED***?latest=True&target=basic%2Cmore&userId=***DELETED***
2025-12-02 19:28:40.773 DEBUG (MainThread) [pysmarthashtag.api.client] Response: GET https://api.ecloudeu.com/remote-control/vehicle/status/***DELETED***?latest=True&target=basic%2Cmore&userId=***DELETED*** - Status 200
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.account] Got response 200
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.battery] Parsing battery data
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.tires] Parsing tire data
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.position] Parsing position data
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.maintenance] Parsing maintenance data
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.running] Parsing running data
2025-12-02 19:28:40.774 DEBUG (MainThread) [pysmarthashtag.vehicle.climate] Parsing climate data
2025-12-02 19:28:40.774 ERROR (MainThread) [pysmarthashtag.models] Field 'interiorPM25' not found in data

aquisgranum avatar Dec 02 '25 18:12 aquisgranum

With this log do you see the climate component now? I removed the part where the whole sensor group fails if one is not available.

I also see that you have a Pro+ and I have the Premium variant. Maybe you do not have that sensor? Smart does not list that Sensor in the line overview. So maybe that is the cause of this issue.

DasBasti avatar Dec 04 '25 11:12 DasBasti

yes its back. I had it before. So i dont think theres a difference between the models.

Thank you!

aquisgranum avatar Dec 05 '25 06:12 aquisgranum