Git Product home page Git Product logo

tsmart_ha's People

Contributors

conorsham avatar pdw-mb avatar viper5000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tsmart_ha's Issues

The temperature value freezes.

Some times the temperature value kept not updated to long time. Recently it was showing 34°c, but actually on the Tesla app it is 18°c.
The only thing can refresh it, is by pressing reload on the Tesla device settings. It was happening once a month approximately, but now it is every single day.

Core
2023.12.3
Supervisor
2023.12.0
Operating System
11.2
Frontend
20231208.2

Screenshot_20231224_210040_Home Assistant

Screenshot_20231224_210054_Home Assistant

Screenshot_20231224_210104_Home Assistant

Screenshot_20231224_210115_Home Assistant

Screenshot_20231224_210126_Home Assistant

Entities not working

TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'
2023-08-05 20:19:50.896 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up t_smart platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 370, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(

Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:619
Integration: Binary Sensor (documentation, issues)
First occurred: 20:19:50 (2 occurrences)
Last logged: 20:19:50

Error adding entities for domain binary_sensor with platform t_smart
Error while setting up t_smart platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

Home Assistant 2023.8.1 (also happened in 2023.8.0)
T Smart firmware 1.9.96

Thermostat not on same subnet

My HA environment sits in a different subnet to my smart home devices, and so the broadcast approach won't detect the device. Would be good to have a fallback option to enter an IP address?

Feature Request: Add relay output sensor

Would really like a binary sensor to show when the relay is on, ie heating to enable me to create a virtual power sensor.

This is available in the 3rd party add-on and there is also a power entity, this would also be nice but not necessary as I can create it with Powercalc.

Thanks

Current Temperature - mismatch with TSmart app

I can see two current temperature sensors - one called ‘Low’, the other ‘High’

In the Tsmart app, the High temp reading is used for the current water temperature. This is the one the thermostat seems to use to control the relay.

In the HA integration, it’s the Low temp reading.

Is there a way of switching this round, so it’s consistent? Have I missed something in the config?

Thanks

Request: Fallback To Manual IP Entry On Discovery Fail

Hi,

I run my HA instance and IOT network in separate VLANs, HA also runs in an isolated Docker container as such, the automated discovery for this integration does not work for me.

Would it be possible to add the facility to manually add the IP of my T-Smart device as a fallback?

Entity None (<class 'custom_components.t_smart.climate.TSmartClimateEntity'>) implements HVACMode(s)

Getting this in the logs after updating to 2024.2

Logger: homeassistant.components.climate
Source: components/climate/init.py:354
Integration: Climate (documentation, issues)
First occurred: 12:54:08 pm (1 occurrences)
Last logged: 12:54:08 pm

Entity None (<class 'custom_components.t_smart.climate.TSmartClimateEntity'>) implements HVACMode(s): off, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/pdw-mb/tsmart_ha/issues

Issue with HA 2023.8.B0

Current beta has this issue:

`Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:619
Integration: Climate (documentation, issues)
First occurred: 09:05:01 (2 occurrences)
Last logged: 09:05:01

Error adding entities for domain climate with platform t_smart
Error while setting up t_smart platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'
`

Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:619
Integration: Binary Sensor (documentation, issues)
First occurred: 09:05:01 (2 occurrences)
Last logged: 09:05:01

Error adding entities for domain binary_sensor with platform t_smart
Error while setting up t_smart platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

Error in HA logs from tsmart integration

Wondered if this error is common to anyone else using the integration:

"Unexpected error fetching t_smart-6B64E6 data: ValueError('35 is not a valid TSmartMode')"

Happening a lot as it's top of my Sentry error frequency list.

Feature Request: Add current temperature as a sensor

Feature Request.

Can you add the current temperature as a sensor?
My intent would be to use this data point to graph temp over time, so I can evaluate general loss and a proxy for water usage.

HA would be able to log and graph but a sensor entity would need to be created.

New Home Assistant log entry

I'm seeing the following in the HA logs on my system:
WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.t_smart.climate.TSmartClimateEntity'>) implements HVACMode(s): off, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/pdw-mb/tsmart_ha/issues

Home Assistant OS 11.5
Home Assistant Core 2024.2.1

How to determine TSmart power

First - thanks for building on the BritKat MQTT solution for TSmart and enabling a simpler Python & HACS enabled integration. When I used the MQTT original I was able to pick up a numeric power attribute and use it in a Riemann Sum Integral helper for my Engergy dashboard. Your new integration doesn't seem to expose that power value, unless I've just missed it somewhere? Do you plan to add something to your system as I assume this is there in the TSmart API?

Errors following update to HomeAssistant 2023.8

Errors following update to HomeAssistant 2023.8 I'm getting the errors

Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:619
Integration: Binary sensor (documentation, issues)
First occurred: 11:02:01 AM (2 occurrences)
Last logged: 11:02:01 AM

Error adding entities for domain binary_sensor with platform t_smart
Error while setting up t_smart platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

and

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:619
Integration: Climate (documentation, issues)
First occurred: 11:02:01 AM (2 occurrences)
Last logged: 11:02:01 AM

Error adding entities for domain climate with platform t_smart
Error while setting up t_smart platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'name_by_user'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.