Code Monkey home page Code Monkey logo

smartthings's Introduction

hacs_badge

SmartThings Custom

A fork of the Home Assistant SmartThings Integration. This adds better support for Samsung OCF Devices.

This current integration is not being updated, only fixed if HA update breaks it!

Due to the immense interest to this integration I would like to build a new one that runs alongside the official Smartthings integration. This current integration is not maintainable since it was only meant for minor tweaks for myself adding missing functionality which the basic Smartthings API does not provide. I have no need for this new integration myself so I would be asking money for it and would be releasing it closed source until I have gathered 2000€ from the integration. After that I would be releasing it as open source.

If you are interested, please vote in discussions

Fixed features:

  • AC Humidity (now shows as sensor and also in climate entity)
  • AC Power consumption is now a separate sensor (removed from climate entity)
  • AC fan only mode
  • Audio volume (audio volume is now a number entity instead of sensor)
  • Oven Operating State

Added features:

  • AC Preset modes
  • AC Fan swing modes
  • AC Dust Filter: Reset and Capacity select
  • AC Display Light (Read Notes)
  • AC Temperature Min, Max and step (mine has a step of 1 deg this is a fixed value)
  • AC Auto cleaning mode
  • AC Disabled Capabilities are now shown in climate entity and prevented from being added to HA
  • Sensors with null values are now shown as "unavailable" instead of "unknown"
  • OCF Device type now shows manufacturer and device model. Please note, this might be the SmartThings module model.
  • AC Motion Sensor Saver
  • Firmware update availability sensor
  • Oven Lamp
  • Oven Meat Probe Sensor
  • Oven Kids Lock Sensor
  • Oven Door State Sensor
  • Oven Cooktop State Sensor
  • Oven Sound Switch (Read Notes)
  • Oven Remote Control Status
  • Oven Cooktop Center Warmer State (Read Notes)
  • Oven Cooktop Burner Sensors (Read Notes)

Installation:

HACS

  • Remove your original smartthings integration if you have one set up (optional)
  • Add https://github.com/veista/smartthings as a Custom Repository
  • Install SmartThings Custom from the HACS Integrations tab
  • Restart Home Assistant
  • Install SmartThings from the HA Integrations tab
  • Enjoy!

Manually

  • Remove your original smartthings integration if you have one set up (optional)
  • Copy the smartthings folder to custom_components\
  • Restart Home Assistant
  • Install SmartThings from the HA Integrations tab
  • Enjoy!

Notes:

  • If you like the integration please star this repository and concider donating or becoming a sponsor.

smartthings's People

Contributors

firstof9 avatar haimn avatar marciogranzotto avatar veista avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartthings's Issues

Samsung OCF ARTIK051_REF_17K Refrigerator - Individual door sensors respond when doors are opened but not when they close

I have manually modified files binary_sensor.py, number.py, select.py, sensor.py & switch.py to add my refrigerator model ("ARTIK051_REF_17K") as described in #22.

As mentioned in #22 I found that the door 'Contact' sensor correctly toggles when any of the three doors are opened and closed, but the individual door sensors ('Cooler Door', 'Freezer Door' and 'Flexzone Door') do not respond to a 'Close' push update.

This happens because the code is expecting to see 'Closed', but the push update contains 'Close' for the individual sensors.

I have changed the three instances of 'Closed' in binary_sensor.py to 'Close', which has fixed the problem for me.

i.e., from:

                    [
                        SamsungOcfDoorBinarySensor(
                            device,
                            "Cooler Door",
                            "/door/cooler/0",
                            "Open",
                            "Closed",
                            DEVICE_CLASS_DOOR,
                        ),
                        SamsungOcfDoorBinarySensor(
                            device,
                            "Freezer Door",
                            "/door/freezer/0",
                            "Open",
                            "Closed",
                            DEVICE_CLASS_DOOR,
                        ),
                        SamsungOcfDoorBinarySensor(
                            device,
                            "FlexZone Door",
                            "/door/cvroom/0",
                            "Open",
                            "Closed",
                            DEVICE_CLASS_DOOR,
                        ),
                    ]

To:

                    [
                        SamsungOcfDoorBinarySensor(
                            device,
                            "Cooler Door",
                            "/door/cooler/0",
                            "Open",
                            "Close",
                            DEVICE_CLASS_DOOR,
                        ),
                        SamsungOcfDoorBinarySensor(
                            device,
                            "Freezer Door",
                            "/door/freezer/0",
                            "Open",
                            "Close",
                            DEVICE_CLASS_DOOR,
                        ),
                        SamsungOcfDoorBinarySensor(
                            device,
                            "FlexZone Door",
                            "/door/cvroom/0",
                            "Open",
                            "Close",
                            DEVICE_CLASS_DOOR,
                        ),
                    ]

Error: config flow cant be loaded: undefined

Hi,
I have problem setup smartthings custom. I do install it in HACS, restart HA, but when try to add integration I cant set it up.
I get:
Error: config flow cant be loaded: undefined

I did try to uninstall it in HACS, restart and setup the original smartthings but I get same error

Where to start solving?

Thank you, Mitcho

Issues with setup, available data and devices

Repository starred - thank you for your work on this.

Added to HACS all good, and it shows as an installed repository in HACS "SmartThings Custom". I then go into Settings / Devices & Services / Integrations / Add Integration and select SmartThings.

Issues:

  1. On setup of the SmartThings custom integration, it presents a window asking to Confirm Callback URL:
    image
    It will not use the external URL set in my HA, but only sees and tries to use Nabu Casa. My external access works fine, and should be used. It is set in the HA GUI, not in configuration.yaml - How do I get the integration to use my external URL, not Nabu Casa? Or is this an underlying issue, not caused by this integration?

  2. For the fridge, there is little useful information brought through other than overall open/closed and energy usage:
    image
    ... Temp sensors are enabled but 'unavailable'. Is this me setting it up incorrectly, or an issue?

Add ionizer (spi)

Great job - I really appreciate it.
But ;)

I have AR12NXPXBWKNEU (windfree unit with ionizer function). From st ide I can read such thing:
image

This line change when I use remote:

"x.com.samsung.da.options": [
...
"Spi_On",
...
]

I also don't have any additional presets available (like "2-step", "fast", "comfort", etc.). I did recycle power.

Failed to set up

Hello, I am having a problem with integration. Each month it gives me message "failed to set up" and when I set it up again, it works for one month. Is there something I don't know, or any known solution for this problem?
Thanks

Exception in async_update_state when dispatching 'smartthings_update'

I have started getting this error, many many times a day. Any ideas on what is causing it?

Logger: homeassistant.util.logging
Source: util/logging.py:156
First occurred: November 30, 2022 at 10:16:41 PM (104 occurrences)
Last logged: 12:00:19 PM

Exception in async_update_state when dispatching 'smartthings_update': ({'c2383f76-31b5-f9ab-0d05-c80bf664372a'},) Traceback (most recent call last): File "/config/custom_components/smartthings/__init__.py", line 419, in async_update_state await self.async_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_update_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 583, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 551, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 982, in state if (is_on := self.is_on) is None: File "/config/custom_components/smartthings/switch.py", line 426, in is_on output = self._device.status.attributes[Attribute.data].value["payload"][ KeyError: 'x.com.samsung.da.iceMaker'

Device info
ARTIK051_REF_17K
by Samsung Electronics
Firmware: DA-REF-ART-COMMON-1_20201124

Installation

Hi,

Great to see how people develop things just because they like it. I’m a rookie when it comes to Home Assistant.

I installed the original SmartThings but was a bit disappointed with the possibilities.
After some surfing on the net, I ended up on your Github. But I fail to install it. When I try to add your repository I get the message “https://github.com/veista/smartthings is not a valid add-on repository”. Manually installation, I don’t find the “custom_components” folder :-(.

can someone help me
thanks in advance
Filip

Fridge missing Temp sensor readings

My fridge model 22K_REF_LCD_FHUB7.0 is missing the temp sensor settings. This is a big improvement over the stock integration, brought a lot more info into HA. Thank you!

Placeholder after Reboot as Type in SmartThings

Hi!
After your fix the integration loaded perfectly. But I realised, that I had no optional mode for WindFree HA. In SmartThings it shows
supportedAcOptionalMode:
[
"off",
"windFree"
].
I rebooted the AC and it returned to it's original state in SmartThings Dev Portal "placeholder", the integration could not load. After I changed it in SmartThings back to Samsung OCF Air Conditioner, the devices became available in HA again, but unfortunately still without the Option to use WindFree.

Missing information

Im missing a lot of information from entities
Freezer: RZ32M713E7F
Refrigerator: RR39M73657F
image

Unsupported Home Assistant 2022.10. Please report it to the custom component author.

Thanks for the fork and better support for Samsung SmartThings.

Veista/Smartthings) release 1.1.13

Logger: homeassistant.components.number
Source: components/number/init.py:220
Integration: Number (documentation, issues)
First occurred: 21:09:39 (2 occurrences)
Last logged: 21:09:39

custom_components.smartthings.number::SmartThingsNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
custom_components.smartthings.number::SamsungOcfTemperatureNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Adding some tools for AC possible?

Hello,

In the first place: thank you very much for this tool. It works great with HA and my AC (ARTIK051_KRAC_18K).

It would be great if some tools could be added.
The AC gives the opportunety to set some other options:

  • 2-step (for me, I am not interested) ; (in nodejs cli : ("x.com.samsung.da.options":["Comode_2Step"])
  • fast-turbo (I sometimes use) (in nodejs cli : "x.com.samsung.da.options":["Comode_Speed"]);
  • comfort (Regularly used) (in nodejs cli : "x.com.samsung.da.options":["Comode_Comfort"]);
  • quiet (not interested in) (in nodejs cli : x.com.samsung.da.options":["Comode_Quiet"]);
  • single user(not interested in)

And (for me interesting);

  • the used filter time is also shown in then settings section. Is it possible to add that to?
    (in nodejs cli : "x.com.samsung.da.options":["FilterTime_1"])
  • the outside temp (part of the info when asked for a list)

Also a timer is possible: (in nodejs clix.com.samsung.da.options":["Sleep_XX"], where XX is number of minutes)

If not possible: no problem, I am realy glad with what it is now, but it would make me even more happy!

So Far - Like this (want to LOVE IT)

So far way better than the first one I got in HA. No problems installing yours after removing the other one. I do however have some issues/questions.

  1. The other one when configuring it, would launch the IDE and make me sign in and click on an ALLOW screen to allow all devices to talk. It would also make an entry in the IDE called 'Home Assistant' -- not seeing that with yours.

  2. I LOVE that yours does pull back the Manufacturer and Model Information, albeit not sure they are completely accurate:

image

  1. Seeing all sorts of errors in the logs - which I do not understand:
This error originated from a custom integration.

Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:376
Integration: SmartThings
First occurred: 09:25:55 (1 occurrences)
Last logged: 09:25:55

Some device attributes may not receive push updates and there may be subscription creation failures under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0' because 62 subscriptions are required but there is a limit of 40 per app
This error originated from a custom integration.

Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:330
Integration: SmartThings
First occurred: 09:25:55 (12 occurrences)
Last logged: 09:25:59

Failed to create subscription for 'custom.dryerDryLevel' under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0': Unprocessable Entity (422): {"requestId": "4FE5ED58-C593-4109-9DCC-29C4C355AA9C", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'samsungce.deviceIdentification' under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0': Unprocessable Entity (422): {"requestId": "C00A73A0-F205-4EFE-9422-3EB456EBBFD9", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'custom.launchapp' under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0': Unprocessable Entity (422): {"requestId": "50D5AE4D-A705-461A-A548-094C9060EB83", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'custom.washerWaterTemperature' under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0': Unprocessable Entity (422): {"requestId": "90B655CD-313D-4576-AE9A-8A873E623DD6", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
Failed to create subscription for 'samsungvd.mediaInputSource' under app 'd94a6276-373b-44ee-a774-4591f6bd3fd0': Unprocessable Entity (422): {"requestId": "B919697C-400E-43E9-8CEF-5DCC65953EB9", "error": {"code": "LimitError", "message": "subscription limit exceeded", "details": []}}
This error originated from a custom integration.

Logger: homeassistant.core
Source: custom_components/smartthings/switch.py:224
Integration: SmartThings
First occurred: 09:33:42 (1 occurrences)
Last logged: 09:33:42

Error executing service: <ServiceCall switch.turn_off (c:01GHBTJHC8A1ZB6KZGAM3CX5SC): entity_id=['switch.samsung_tv_switch']>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1756, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 207, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
    await result
  File "/config/custom_components/smartthings/switch.py", line 224, in async_turn_off
    await getattr(self._device, self._off_command)(set_status=True)
  File "/usr/local/lib/python3.10/site-packages/pysmartthings/device.py", line 1013, in switch_off
    result = await self.command(component_id, Capability.switch, Command.off)
  File "/usr/local/lib/python3.10/site-packages/pysmartthings/device.py", line 825, in command
    response = await self._api.post_device_command(
  File "/usr/local/lib/python3.10/site-packages/pysmartthings/api.py", line 147, in post_device_command
    return await self.post(API_DEVICE_COMMAND.format(device_id=device_id), data)
  File "/usr/local/lib/python3.10/site-packages/pysmartthings/api.py", line 395, in post
    return await self.request("post", self._api_base + resource, data=data)
  File "/usr/local/lib/python3.10/site-packages/pysmartthings/api.py", line 376, in request
    resp.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 409, message='Conflict', url=URL('https://api.smartthings.com/v1/devices/8afdcf72-f409-44bb-bbf3-b1f18a29d026/commands')

I have 3 more Smart Devices that are going to be installed (SAMSUNG Smart Range/Oven, Dishwasher and Microwave) -- as soon as I get my new floors. I have them already...still in the boxes in the garage.

Am I gonna have problems?

Samsung OCF Fridge Support

Hi,

Thanks for this fork of the Smartthings Integration! I have a TP6X_REF_16K model fridge and have tried adding the model to the 5 files (binary_sensor.py, number.py, sensor.py, select.py, and switch.py) as suggested in #20 and #22, however most of the entities are still not showing up for my fridge:

image

image

image

image

image

image

What am I missing? Could someone point me in the right direction of how to troubleshoot?

Tracking the energy usage of Air Conditioner unit

Added the following to my energy dashboard, but I get errors:

Unexpected device class
The following entities do not have the expected device class:
sensor.room_air_conditioner_deltaenergy
Last reset missing
The following entities have state class 'measurement' but 'last_reset' is missing:
sensor.room_air_conditioner_deltaenergy
Entity not defined
Check the integration or your configuration that provides:
sensor.room_air_conditioner_energysaved
Unexpected device class
The following entities do not have the expected device class:
sensor.room_air_conditioner_powerenergy
Last reset missing
The following entities have state class 'measurement' but 'last_reset' is missing:
sensor.room_air_conditioner_powerenergy

Error while setting up smartthings platform for sensor With HA 2022.4.0

With HA 2022.4.0 error started to apear:

Logger: homeassistant.components.sensor
Source: helpers/entity_registry.py:383
Integration: Sensor (documentation, issues)
First occurred: 22:44:42 (2 occurrences)
Last logged: 22:44:42

Error adding entities for domain sensor with platform smartthings
Error while setting up smartthings platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in _async_add_entity
entry = entity_registry.async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 383, in async_get_or_create
raise ValueError("entity_category must be a valid EntityCategory instance")
ValueError: entity_category must be a valid EntityCategory instance

No support for auto mode. Here some details for implementation

Your integration, as far as I seen, doesn't provide auto mode support (the one with AI icon in smartthings app).

I was able to enable the auto mode using Postman, specifically using this body for the POST request:
{ "commands": [{ "component": "main", "capability": "airConditionerMode", "command": "setAirConditionerMode", "arguments": ["auto"]} ]}
The "auto" argument is the one that selects the matching option.

If I ask the status using the GET request for it (https://api.smartthings.com/v1/devices/{{deviceID}}/status), the mode, under airConditionerMode, is called "aIComfort" (capital i, I think it's a mistyping by their end).

For the rest I didn't notice things that are missing, so I hope you can add this.
Let me know if you need more details, thank you so much.

"Quiet" preset

Hi,
I am currently testing the integration in HACS. Really good work.
However, a few things are still missing.
Do you plan to integrate the quiet preset?

image

Thanks

[ISSUE] Setpoint/temperature missing from Refrigerator

As per my issue with the pysmartthings library, the setpoints/temperatures do not populate and report the value unavailable.

From /v1/devices/{deviceID}/status JSON:

{
    "components": {
        "icemaker": {
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": null
                }
            },
            "switch": {
                "switch": {
                    "value": "on",
                    "timestamp": "2021-10-31T04:45:37.879Z"
                }
            }
        },
        "cooler": {
            "contactSensor": {
                "contact": {
                    "value": "closed",
                    "timestamp": "2022-01-18T20:13:23.156Z"
                }
            },
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [],
                    "timestamp": "2021-07-27T01:19:43.145Z"
                }
            },
            "temperatureMeasurement": {
                "temperature": {
                    "value": 37,
                    "unit": "F",
                    "timestamp": "2022-01-11T01:43:48.635Z"
                }
            },
            "custom.thermostatSetpointControl": {
                "minimumSetpoint": {
                    "value": 34,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                },
                "maximumSetpoint": {
                    "value": 44,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                }
            },
            "thermostatCoolingSetpoint": {
                "coolingSetpoint": {
                    "value": 37,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                }
            }
        },
        "freezer": {
            "contactSensor": {
                "contact": {
                    "value": "closed",
                    "timestamp": "2022-01-18T19:58:59.613Z"
                }
            },
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [],
                    "timestamp": "2021-07-27T01:19:43.145Z"
                }
            },
            "temperatureMeasurement": {
                "temperature": {
                    "value": 0,
                    "unit": "F",
                    "timestamp": "2021-12-19T05:08:29.876Z"
                }
            },
            "custom.thermostatSetpointControl": {
                "minimumSetpoint": {
                    "value": -8,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                },
                "maximumSetpoint": {
                    "value": 5,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                }
            },
            "thermostatCoolingSetpoint": {
                "coolingSetpoint": {
                    "value": 0,
                    "unit": "F",
                    "timestamp": "2021-07-27T01:19:42.452Z"
                }
            }
        },
        "main": {
            "custom.disabledComponents": {
                "disabledComponents": {
                    "value": [
                        "icemaker-02"
                    ],
                    "timestamp": "2021-07-27T01:19:43.145Z"
                }
            },
            "contactSensor": {
                "contact": {
                    "value": "closed",
                    "timestamp": "2022-01-18T20:13:23.156Z"
                }
            },
            "powerConsumptionReport": {
                "powerConsumption": {
                    "value": {
                        "energy": 1815132,
                        "deltaEnergy": 34,
                        "power": 153,
                        "powerEnergy": 34.42290833294392,
                        "persistedEnergy": 0,
                        "energySaved": 0,
                        "start": "2022-01-18T20:06:20Z",
                        "end": "2022-01-18T20:20:23Z"
                    },
                    "timestamp": "2022-01-18T20:20:23.018Z"
                }
            },
            "samsungce.viewInside": {
                "contents": {
                    "value": [],
                    "timestamp": "2021-11-11T11:40:55.468Z"
                },
                "lastUpdatedTime": {
                    "value": "2022-01-18T20:13:31Z",
                    "timestamp": "2022-01-18T20:13:32.030Z"
                }
            },
            "refresh": {},
            "execute": {
                "data": {
                    "value": {
                        "payload": {
                            "rt": [
                                "x.com.samsung.da.energyconsumption"
                            ],
                            "if": [
                                "oic.if.a"
                            ],
                            "x.com.samsung.da.cumulativePower": "1815132",
                            "x.com.samsung.da.cumulativeUnit": "Wh",
                            "x.com.samsung.da.instantaneousPower": "153",
                            "x.com.samsung.da.instantaneousPowerUnit": "W",
                            "x.com.samsung.da.monthlyConsumption": "72000",
                            "x.com.samsung.da.thismonthlyConsumption": "38832"
                        }
                    },
                    "data": {
                        "href": "/energy/consumption/vs/0"
                    },
                    "timestamp": "2022-01-18T20:20:23.018Z"
                }
            },
            "custom.fridgeMode": {
                "fridgeModeValue": {
                    "value": null
                },
                "fridgeMode": {
                    "value": null
                }
            },
            "ocf": {
                "st": {
                    "value": "2021-11-25T11:41:19Z",
                    "timestamp": "2021-12-02T11:41:36.995Z"
                },
                "mndt": {
                    "value": "",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnfv": {
                    "value": "20210813.115026",
                    "timestamp": "2021-08-25T13:20:27.463Z"
                },
                "mnhw": {
                    "value": "",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "di": {
                    "value": "7d3feb98-8a36-4351-c362-5e21ad3a78dd",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnsl": {
                    "value": "",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "dmv": {
                    "value": "res.1.1.0,sh.1.1.0",
                    "timestamp": "2021-12-02T11:41:36.995Z"
                },
                "n": {
                    "value": "[refrigerator] Samsung (LCD)",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnmo": {
                    "value": "21K_REF_LCD_FHUB6.0|00113141|0002034e051324200103000000000000",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "vid": {
                    "value": "DA-REF-NORMAL-01001",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnmn": {
                    "value": "Samsung Electronics",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnml": {
                    "value": "",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnpv": {
                    "value": "6.0",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "mnos": {
                    "value": "Tizen",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "pi": {
                    "value": "7d3feb98-8a36-4351-c362-5e21ad3a78dd",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                },
                "icv": {
                    "value": "core.1.1.0",
                    "timestamp": "2021-07-27T01:19:42.234Z"
                }
            },
            "refrigeration": {
                "defrost": {
                    "value": "off",
                    "timestamp": "2021-07-27T01:19:42.945Z"
                },
                "rapidCooling": {
                    "value": "off",
                    "timestamp": "2021-07-27T01:19:42.715Z"
                },
                "rapidFreezing": {
                    "value": "off",
                    "timestamp": "2021-07-27T01:19:42.715Z"
                }
            },
            "samsungce.powerCool": {
                "activated": {
                    "value": false,
                    "timestamp": "2021-07-27T01:19:42.715Z"
                }
            },
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [
                        "custom.deviceReportStateConfiguration"
                    ],
                    "timestamp": "2021-07-27T01:19:43.145Z"
                }
            },
            "samsungce.driverVersion": {
                "versionNumber": {
                    "value": 21061601,
                    "timestamp": "2021-11-29T02:07:32.214Z"
                }
            },
            "samsungce.powerFreeze": {
                "activated": {
                    "value": false,
                    "timestamp": "2021-07-27T01:19:42.715Z"
                }
            },
            "temperatureMeasurement": {
                "temperature": {
                    "value": null
                }
            },
            "custom.deviceReportStateConfiguration": {
                "reportStateRealtimePeriod": {
                    "value": null
                },
                "reportStateRealtime": {
                    "value": {
                        "state": "disabled"
                    },
                    "timestamp": "2021-07-27T01:19:42.757Z"
                },
                "reportStatePeriod": {
                    "value": "enabled",
                    "timestamp": "2021-07-27T01:19:42.757Z"
                }
            },
            "custom.waterFilter": {
                "waterFilterUsageStep": {
                    "value": 1,
                    "timestamp": "2021-11-29T02:21:18.647Z"
                },
                "waterFilterResetType": {
                    "value": [
                        "replaceable"
                    ],
                    "timestamp": "2021-11-29T02:21:18.647Z"
                },
                "waterFilterCapacity": {
                    "value": null
                },
                "waterFilterLastResetDate": {
                    "value": null
                },
                "waterFilterUsage": {
                    "value": 43,
                    "timestamp": "2022-01-17T01:48:22.020Z"
                },
                "waterFilterStatus": {
                    "value": "normal",
                    "timestamp": "2021-11-29T02:21:18.647Z"
                }
            },
            "thermostatCoolingSetpoint": {
                "coolingSetpoint": {
                    "value": null
                }
            }
        },
        "cvroom": {
            "custom.fridgeMode": {
                "fridgeModeValue": {
                    "value": null
                },
                "fridgeMode": {
                    "value": "CV_FDR_DELI",
                    "timestamp": "2021-07-27T01:19:42.702Z"
                }
            },
            "contactSensor": {
                "contact": {
                    "value": "closed",
                    "timestamp": "2022-01-18T20:01:01.895Z"
                }
            },
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [],
                    "timestamp": "2021-07-27T01:19:43.145Z"
                }
            }
        },
        "icemaker-02": {
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": null
                }
            },
            "switch": {
                "switch": {
                    "value": null
                }
            }
        }
    }
}

[Feature request] Add temperature sensor and display switch

  • Would you add temperature sensor same like humidity?

  • Another idea is turn on and off display. I have it done via rest command now.

livingroom_ac_display_on:
  url: https://api.smartthings.com/v1/devices/[device-id]/commands
  method: POST
  headers:
    User-Agent: Home Assistant
    Content-Type: application/json
    Authorization: !secret smartthings_token
  payload: '{"commands":[{"component":"main","capability":"execute","command":"execute","arguments":["mode/vs/0",{"x.com.samsung.da.options":["Light_Off"]}]}]}'
  content_type: application/json

Windfree (ARTIK051_PRAC_20K) temperature

Hi, thanks for this howesome project. With my windfree split I can't use temperature as sensor. In fact, when a target value is reached, I'd like the split to change from "normal ventilation" to "windfree ventilation". In general, temperature can't be used as a trigger (while humidity yes). Many thanks for the support.

Some DA_WM_A51_20_COMMON Samsung Washer sensors report constant 0

Since transitioning to the custom integration, my Samsung washer stopped displaying some readings, while others seem to have confusing units:

image

  1. The default integration used to show washer Power, but the custom sensor is a flat zero throughout.
  2. The PowerEnergy used to be a valid sensor in W, but now reports a flat zero in kWh, which sounds like it would be a duplication of deltaEnergy. But, actually it's not showing any data, so it's just a waste of an entity.
  3. The total Energy sensor provides very course information about the used kWh, but this may be just the nature of the information coming from the device. This said, if the Power sensor used to be able to report real time Power, I wonder why the Energy is creating a step pattern.

image

Maybe I am misunderstanding something?

Thank you in advance for any assistance!

Add Quiet Mode

Hi.

Your integration is working fine with my ar09txfcawkneu, thank you, but could you please add Quiet mode toggle?

Thank you

Deprecation of async_setup_platforms fuction

Hi,
just to let you know about the deprecation of another function in HA 2023.2.
WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for smartthings using this method at custom_components/smartthings/__init__.py, line 186: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

ImportError NumberMode

After latest update integration stopped working.

Logger: homeassistant.config_entries
Source: custom_components/smartthings/number.py:12
Integration: SmartThings
First occurred: 14:54:57 (1 occurrences)
Last logged: 14:54:57

Error setting up entry My home for smartthings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/config/custom_components/smartthings/__init__.py", line 157, in async_setup_entry
    broker = DeviceBroker(hass, entry, token, smart_app, devices, scenes)
  File "/config/custom_components/smartthings/__init__.py", line 278, in __init__
    self._assignments = self._assign_capabilities(devices)
  File "/config/custom_components/smartthings/__init__.py", line 289, in _assign_capabilities
    platform_module = importlib.import_module(
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_components/smartthings/number.py", line 12, in <module>
    from homeassistant.components.number import NumberEntity, NumberMode
ImportError: cannot import name 'NumberMode' from 'homeassistant.components.number' (/usr/src/homeassistant/homeassistant/components/number/__init__.py)

Adding support for Oven

The issue # 66 was created in a similar repository (pysmartthings). However, this other repository will only support devices using the ST standard. So @veista responded saying he could support oven in his fork. So here we are.

We discussed the subject a lot in the issue in the other repository. So go see the previous issue to read the messages we exchanged

We will therefore continue the discussion here.

Thank you!

Push message limit?

What is this error? How to solve it?

This error originated from a custom integration.

Logger: custom_components.smartthings.smartapp
Source: custom_components/smartthings/smartapp.py:376
Integration: SmartThings
First occurred: December 20, 2022 at 7:54:00 PM (1 occurrences)
Last logged: December 20, 2022 at 7:54:00 PM

Some device attributes may not receive push updates and there may be subscription creation failures under app 'a533278b-2eb6-409d-83c1-f6bad6c04fd0' because 75 subscriptions are required but there is a limit of 40 per app

Lots of missing information

Thanks for the fork to try and get better support for the data exposed by Samsung. Once I installed this fork, I gained the ability to reset the Water Filter, but lost views into power consumption (over the stock integration). However, there is a TON more data that is exposed via SmartThings that just isn't showing up in Home Assistant with either the stock version or this fork.

image

Stuff like being able to see/toggle the Rapid Cool/Freeze Modes would be nice. Also, the actual usage information from the Water Filter.

There are also child devices:
image

Having information about the Freezer (such as temps, etc.) would be helpful. Also, a toggle for the Ice Maker.

My specific fridge has an extra FlexZone drawer that has it's own contact sensor and the ability to change the "mode".
image

These things should be controllable via the API since they're available in the SmartThings app:
Screenshot_20220522-142622

Any way to help get all this extra stuff added?

Missing Presets While Heating

When using the Heat mode on my Airco I'm missing the presets like silent mode, while those do function in the Smartthings app.

Conflict with builtin SmartThings integration..

Again here with another issue (I was then able to install it .. ;-)

When I try to add the integration I get the error shown here

image

Pls note that it's a new HA installation and I didn't configure the standard/builtin Smartthings integration.. so there is nothing to delete.
I already cleaned the browser cache (tried different browser too)
I also tried to delete config/.storage/smartthing but at next restart it appears again the webhook error..

What am I doing wrong?

Thanks in advance

TypeError: 'NoneType' object is not iterable

Hi - thank you so much for your work on this. I am getting the following error while trying to start the integration (have tried beta version and release version). Any help you could provide would be great!

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/smartthings/init.py", line 148, in async_setup_entry
await smartapp_sync_subscriptions(
File "/config/custom_components/smartthings/smartapp.py", line 362, in smartapp_sync_subscriptions
for disabled_capability in disabled_capabilities:
TypeError: 'NoneType' object is not iterable

Subscription issue

Looks like there maybe an issue:

2022-01-25 11:50:21 WARNING (MainThread) [custom_components.smartthings.smartapp] Some device attributes may not receive push updates and there may be subscription creation failures under app '1538476b-1d08-4c29-8434-91ae8b0adb6d' because 55 subscriptions are required but there is a limit of 40 per app

Do you think it'd be possible to add separate smartapps for some appliances?

Samsung hob/cooktop

I may be out of luck here because I don’t see much data in the SmartThings IDE, but maybe it’s because I have the wrong device type selected. But is it possible to add support for a hob/cooktop?

Issue with lenght of device name

Hi guys, is there a way to fix the problem related to the length of the dv name?
For example:
The name of my Air conditioner is 12 characters.... and the list of the sensors does not appear...
I tried to change the name with another (8 chars is the maximum) and the list of the sensors appear.....

Thanks for the support

      • Solved the problem by updating my HA.

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Just setup Nabu Case, and remote access via portal seems to be working fine. Added custom repo via HACS. Attempted to install, got following error: Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Logs show

Logger: aiohttp.server
Source: components/webhook/__init__.py:46
First occurred: 08:28:25 (1 occurrences)
Last logged: 08:28:25

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 148, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 225, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in _async_init
    result = await self._async_handle_step(flow, flow.init_step, data, init_done)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/smartthings/config_flow.py", line 60, in async_step_user
    await setup_smartapp_endpoint(self.hass)
  File "/config/custom_components/smartthings/smartapp.py", line 224, in setup_smartapp_endpoint
    webhook.async_register(
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 46, in async_register
    raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!

TypeError: 'types.GenericAlias' object is not iterable

Hey,
great work! I'm getting a error on setup:
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File "/config/custom_components/smartthings/__init__.py", line 148, in async_setup_entry await smartapp_sync_subscriptions( File "/config/custom_components/smartthings/smartapp.py", line 362, in smartapp_sync_subscriptions for disabled_capability in disabled_capabilities: TypeError: 'types.GenericAlias' object is not iterable

I'm using the current 1.0.5 version. Any ideas?
Happy Holidays!

AC Unit not updating Infomation

Hello , thanks for all your work , i like that you are improving what SM should done .....

I could use a bit of help if its possible , i just installed my new acs units .... alredy had this repo running , but now the AC units do not update in HA the information , only if i go to device and to sm intregration and click reload ....

MY units are :

Outside unit : AJ080TX4KG
Inside units : AR18TXFYAWKNEU , AR12TXFYAWKNEU , AR09TXFYAWKNEU~

could this be because my units not supported , or do i need to do something im not doing like i should ??

If anyone can help me figure this out , i usualy only check HA , and have everything there , would like not to be openning SM app all the time .

Thank you

Microwave "hood" component capabilities not added?

First, thanks for the great work on expanding SmartThings support.

I've done my best to comb through existing issues/discussions, but can't figure out why the capabilities of the hood component of my Samsung microwave aren't creating entities in Home Assistant.

  1. hood/samsungce.hoodFanSpeed
  • I think this may be getting incorrectly disabled because of the main/custom.disabledCapabilities (which is referring to main/samsungce.hoodFanSpeed)
  1. hood/samsungce.lamp
  • I'm really lost here, this seems like it should already be support via a select entity. Am I missing something?

Any insight or direction to get me started would be appreciated.

https://api.smartthings.com/v1/devices?content=all
{
    "items": [
        {
            "deviceId": "988dc123-7c21-6d16-4845-b3bea68b40fe",
            "name": "[Microwave] Samsung",
            "label": "Microwave",
            "manufacturerName": "Samsung Electronics",
            "presentationId": "DA-KS-MICROWAVE-0101X",
            "deviceManufacturerCode": "Samsung Electronics",
            "locationId": "487cf109-acd8-4a77-b330-5a33cdf6d4dc",
            "ownerId": "d978cad4-96ba-f0fe-79d1-4e6734ae1310",
            "roomId": "5af90dbf-4ca5-42b3-959e-b9cecfe61ab8",
            "deviceTypeName": "oic.d.microwave",
            "components": [
                {
                    "id": "main",
                    "label": "main",
                    "capabilities": [
                        {
                            "id": "ocf",
                            "version": 1
                        },
                        {
                            "id": "execute",
                            "version": 1
                        },
                        {
                            "id": "switch",
                            "version": 1
                        },
                        {
                            "id": "refresh",
                            "version": 1
                        },
                        {
                            "id": "remoteControlStatus",
                            "version": 1
                        },
                        {
                            "id": "ovenSetpoint",
                            "version": 1
                        },
                        {
                            "id": "ovenMode",
                            "version": 1
                        },
                        {
                            "id": "ovenOperatingState",
                            "version": 1
                        },
                        {
                            "id": "doorControl",
                            "version": 1
                        },
                        {
                            "id": "temperatureMeasurement",
                            "version": 1
                        },
                        {
                            "id": "samsungce.deviceIdentification",
                            "version": 1
                        },
                        {
                            "id": "samsungce.driverVersion",
                            "version": 1
                        },
                        {
                            "id": "samsungce.hoodFanSpeed",
                            "version": 1
                        },
                        {
                            "id": "samsungce.definedRecipe",
                            "version": 1
                        },
                        {
                            "id": "samsungce.doorState",
                            "version": 1
                        },
                        {
                            "id": "samsungce.kitchenDeviceIdentification",
                            "version": 1
                        },
                        {
                            "id": "samsungce.kitchenDeviceDefaults",
                            "version": 1
                        },
                        {
                            "id": "samsungce.ovenMode",
                            "version": 1
                        },
                        {
                            "id": "samsungce.ovenOperatingState",
                            "version": 1
                        },
                        {
                            "id": "samsungce.microwavePower",
                            "version": 1
                        },
                        {
                            "id": "samsungce.kitchenModeSpecification",
                            "version": 1
                        },
                        {
                            "id": "samsungce.kidsLock",
                            "version": 1
                        },
                        {
                            "id": "samsungce.softwareUpdate",
                            "version": 1
                        },
                        {
                            "id": "custom.disabledCapabilities",
                            "version": 1
                        }
                    ],
                    "categories": [
                        {
                            "name": "Microwave",
                            "categoryType": "manufacturer"
                        }
                    ]
                },
                {
                    "id": "hood",
                    "label": "hood",
                    "capabilities": [
                        {
                            "id": "samsungce.lamp",
                            "version": 1
                        },
                        {
                            "id": "samsungce.hoodFanSpeed",
                            "version": 1
                        }
                    ],
                    "categories": [
                        {
                            "name": "Other",
                            "categoryType": "manufacturer"
                        }
                    ]
                }
            ],
            "createTime": "2023-01-08T23:42:20.041Z",
            "profile": {
                "id": "9c3fa807-1977-30a5-935f-5dc158b062c4"
            },
            "ocf": {
                "ocfDeviceType": "oic.d.microwave",
                "name": "[Microwave] Samsung",
                "specVersion": "core.1.1.0",
                "verticalDomainSpecVersion": "res.1.1.0,sh.1.1.0",
                "manufacturerName": "Samsung Electronics",
                "modelNumber": "TP2X_DA-KS-MICROWAVE-0101X|40436241|500401000114110002000000000",
                "platformVersion": "DAWIT 2.0",
                "platformOS": "TizenRT 1.0 + IPv6",
                "hwVersion": "MediaTek",
                "firmwareVersion": "A-KS-WW-TP2-21-OTR2_40210729",
                "vendorId": "DA-KS-MICROWAVE-0101X",
                "vendorResourceClientServerVersion": "MediaTek Release 2.210709.1",
                "lastSignupTime": "2023-01-08T23:42:15.826794Z"
            },
            "type": "OCF",
            "restrictionTier": 0,
            "allowed": []
        }
    ],
    "_links": {}
}
https://api.smartthings.com/v1/devices/988dc123-7c21-6d16-4845-b3bea68b40fe/status
{
    "components": {
        "main": {
            "doorControl": {
                "door": {
                    "value": null
                }
            },
            "ovenSetpoint": {
                "ovenSetpoint": {
                    "value": 0,
                    "timestamp": "2023-01-08T23:42:22.114Z"
                }
            },
            "refresh": {},
            "samsungce.hoodFanSpeed": {
                "settableMaxFanSpeed": {
                    "value": 3,
                    "timestamp": "2023-01-25T19:18:34.316Z"
                },
                "hoodFanSpeed": {
                    "value": 0,
                    "timestamp": "2023-01-25T01:28:42.735Z"
                },
                "supportedHoodFanSpeed": {
                    "value": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5
                    ],
                    "timestamp": "2023-01-08T23:42:22.167Z"
                },
                "settableMinFanSpeed": {
                    "value": 0,
                    "timestamp": "2023-01-08T23:42:22.167Z"
                }
            },
            "samsungce.doorState": {
                "doorState": {
                    "value": "closed",
                    "timestamp": "2023-01-25T19:14:57.647Z"
                }
            },
            "samsungce.microwavePower": {
                "supportedPowerLevels": {
                    "value": [
                        "0%",
                        "10%",
                        "20%",
                        "30%",
                        "40%",
                        "50%",
                        "60%",
                        "70%",
                        "80%",
                        "90%",
                        "100%"
                    ],
                    "timestamp": "2023-01-08T23:42:20.702Z"
                },
                "powerLevel": {
                    "value": "0%",
                    "timestamp": "2023-01-25T19:18:38.307Z"
                }
            },
            "samsungce.kitchenDeviceDefaults": {
                "defaultOperationTime": {
                    "value": 30,
                    "timestamp": "2023-01-08T23:42:20.776Z"
                },
                "defaultOvenMode": {
                    "value": "MicroWave",
                    "timestamp": "2023-01-08T23:42:22.250Z"
                },
                "defaultOvenSetpoint": {
                    "value": null
                }
            },
            "execute": {
                "data": {
                    "value": {
                        "payload": {
                            "rt": [
                                "oic.r.temperature"
                            ],
                            "if": [
                                "oic.if.baseline",
                                "oic.if.a"
                            ],
                            "units": "F",
                            "temperature": 0.0
                        }
                    },
                    "data": {
                        "href": "/temperature/desired/0"
                    },
                    "timestamp": "2023-01-25T19:24:59.116Z"
                }
            },
            "samsungce.deviceIdentification": {
                "micomAssayCode": {
                    "value": null
                },
                "modelName": {
                    "value": null
                },
                "serialNumber": {
                    "value": null
                },
                "serialNumberExtra": {
                    "value": null
                },
                "modelClassificationCode": {
                    "value": null
                },
                "description": {
                    "value": null
                },
                "binaryId": {
                    "value": "TP2X_DA-KS-MICROWAVE-0101X",
                    "timestamp": "2023-01-23T14:51:00.748Z"
                }
            },
            "switch": {
                "switch": {
                    "value": "on",
                    "timestamp": "2023-01-25T19:14:53.870Z"
                }
            },
            "ocf": {
                "st": {
                    "value": null
                },
                "mndt": {
                    "value": null
                },
                "mnfv": {
                    "value": "A-KS-WW-TP2-21-OTR2_40210729",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnhw": {
                    "value": "MediaTek",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "di": {
                    "value": "988dc123-7c21-6d16-4845-b3bea68b40fe",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnsl": {
                    "value": "http://www.samsung.com",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "dmv": {
                    "value": "res.1.1.0,sh.1.1.0",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "n": {
                    "value": "[Microwave] Samsung",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnmo": {
                    "value": "TP2X_DA-KS-MICROWAVE-0101X|40436241|500401000114110002000000000",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "vid": {
                    "value": "DA-KS-MICROWAVE-0101X",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnmn": {
                    "value": "Samsung Electronics",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnml": {
                    "value": "http://www.samsung.com",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnpv": {
                    "value": "DAWIT 2.0",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "mnos": {
                    "value": "TizenRT 1.0 + IPv6",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "pi": {
                    "value": "988dc123-7c21-6d16-4845-b3bea68b40fe",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                },
                "icv": {
                    "value": "core.1.1.0",
                    "timestamp": "2023-01-08T23:42:23.064Z"
                }
            },
            "remoteControlStatus": {
                "remoteControlEnabled": {
                    "value": "false",
                    "timestamp": "2023-01-08T23:43:57.465Z"
                }
            },
            "samsungce.kitchenDeviceIdentification": {
                "regionCode": {
                    "value": "US",
                    "timestamp": "2023-01-08T23:42:22.250Z"
                },
                "modelCode": {
                    "value": "ME8000T-/AA0",
                    "timestamp": "2023-01-08T23:42:22.250Z"
                },
                "fuel": {
                    "value": null
                },
                "type": {
                    "value": "microwave",
                    "timestamp": "2023-01-08T23:42:20.425Z"
                }
            },
            "samsungce.kitchenModeSpecification": {
                "specification": {
                    "value": {
                        "single": [
                            {
                                "mode": "Autocook",
                                "supportedOperations": [],
                                "supportedOptions": {}
                            },
                            {
                                "mode": "KeepWarm",
                                "supportedOperations": [
                                    "start",
                                    "set"
                                ],
                                "supportedOptions": {
                                    "temperature": {
                                        "F": {
                                            "min": 175,
                                            "max": 175,
                                            "default": 175,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:01:00",
                                        "max": "09:59:00",
                                        "default": "01:00:00",
                                        "resolution": "00:01:00"
                                    }
                                }
                            },
                            {
                                "mode": "MicroWave",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "operationTime": {
                                        "min": "00:00:01",
                                        "max": "01:30:00",
                                        "default": "00:00:30",
                                        "resolution": "00:00:01"
                                    },
                                    "powerLevel": {
                                        "default": "100%",
                                        "supportedValues": [
                                            "0%",
                                            "10%",
                                            "20%",
                                            "30%",
                                            "40%",
                                            "50%",
                                            "60%",
                                            "70%",
                                            "80%",
                                            "90%",
                                            "100%"
                                        ]
                                    }
                                }
                            },
                            {
                                "mode": "ConvectionBake",
                                "supportedOperations": [
                                    "start",
                                    "set"
                                ],
                                "supportedOptions": {
                                    "temperature": {
                                        "F": {
                                            "min": 100,
                                            "max": 425,
                                            "default": 350,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:01:00",
                                        "max": "09:59:00",
                                        "default": "01:00:00",
                                        "resolution": "00:01:00"
                                    }
                                }
                            },
                            {
                                "mode": "ConvectionRoast",
                                "supportedOperations": [
                                    "start",
                                    "set"
                                ],
                                "supportedOptions": {
                                    "temperature": {
                                        "F": {
                                            "min": 200,
                                            "max": 425,
                                            "default": 350,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:01:00",
                                        "max": "09:59:00",
                                        "default": "01:00:00",
                                        "resolution": "00:01:00"
                                    }
                                }
                            },
                            {
                                "mode": "SpeedBake",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "operationTime": {
                                        "min": "00:01:00",
                                        "max": "09:59:00",
                                        "default": "01:00:00",
                                        "resolution": "00:01:00"
                                    }
                                }
                            },
                            {
                                "mode": "SpeedRoast",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "operationTime": {
                                        "min": "00:01:00",
                                        "max": "09:59:00",
                                        "default": "01:00:00",
                                        "resolution": "00:01:00"
                                    }
                                }
                            },
                            {
                                "mode": "SteamClean",
                                "supportedOperations": [],
                                "supportedOptions": {}
                            }
                        ],
                        "lower": [
                            {
                                "mode": "NoOperation",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "Convection",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "FanConventional",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "LargeGrill",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "FanGrill",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "TopHeatPluseConvection",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "BottomHeatPluseConvection",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "IntensiveCook",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "ProRoasting",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "Defrost",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            },
                            {
                                "mode": "MultiLevelCook",
                                "supportedOperations": [],
                                "supportedOptions": {
                                    "temperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 5
                                        }
                                    },
                                    "operationTime": {
                                        "min": "00:00:00",
                                        "max": "00:00:00",
                                        "default": "00:00:00",
                                        "resolution": "00:00:00"
                                    },
                                    "probeTemperature": {
                                        "C": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        },
                                        "F": {
                                            "min": 0,
                                            "max": 0,
                                            "default": 0,
                                            "resolution": 1
                                        }
                                    }
                                }
                            }
                        ]
                    },
                    "timestamp": "2023-01-08T23:42:22.761Z"
                }
            },
            "custom.disabledCapabilities": {
                "disabledCapabilities": {
                    "value": [
                        "doorControl",
                        "samsungce.hoodFanSpeed"
                    ],
                    "timestamp": "2023-01-08T23:42:20.425Z"
                }
            },
            "samsungce.driverVersion": {
                "versionNumber": {
                    "value": 22100101,
                    "timestamp": "2023-01-08T23:42:20.425Z"
                }
            },
            "samsungce.definedRecipe": {
                "definedRecipe": {
                    "value": {
                        "cavityId": "0",
                        "recipeType": "0",
                        "categoryId": 0,
                        "itemId": 0,
                        "servingSize": 0,
                        "browingLevel": 0,
                        "option": 0
                    },
                    "timestamp": "2023-01-08T23:42:20.702Z"
                }
            },
            "samsungce.softwareUpdate": {
                "targetModule": {
                    "value": null
                },
                "otnDUID": {
                    "value": "ZPCGCEMPVKBL6",
                    "timestamp": "2023-01-08T23:42:21.793Z"
                },
                "lastUpdatedDate": {
                    "value": null
                },
                "availableModules": {
                    "value": [],
                    "timestamp": "2023-01-08T23:42:21.793Z"
                },
                "newVersionAvailable": {
                    "value": false,
                    "timestamp": "2023-01-08T23:42:21.793Z"
                },
                "operatingState": {
                    "value": null
                },
                "progress": {
                    "value": null
                }
            },
            "temperatureMeasurement": {
                "temperature": {
                    "value": 96,
                    "unit": "F",
                    "timestamp": "2023-01-25T19:24:59.083Z"
                }
            },
            "samsungce.ovenOperatingState": {
                "completionTime": {
                    "value": "2023-01-25T19:18:38.154Z",
                    "timestamp": "2023-01-25T19:18:38.171Z"
                },
                "operatingState": {
                    "value": "ready",
                    "timestamp": "2023-01-25T19:18:34.326Z"
                },
                "progress": {
                    "value": 0,
                    "timestamp": "2023-01-25T19:18:38.171Z"
                },
                "ovenJobState": {
                    "value": "ready",
                    "timestamp": "2023-01-25T19:18:38.307Z"
                },
                "operationTime": {
                    "value": "00:00:00",
                    "timestamp": "2023-01-25T19:18:38.171Z"
                }
            },
            "ovenMode": {
                "supportedOvenModes": {
                    "value": [
                        "Others",
                        "warming",
                        "Microwave",
                        "ConvectionBake",
                        "ConvectionRoast"
                    ],
                    "timestamp": "2023-01-08T23:42:22.761Z"
                },
                "ovenMode": {
                    "value": "Others",
                    "timestamp": "2023-01-25T19:18:38.314Z"
                }
            },
            "ovenOperatingState": {
                "completionTime": {
                    "value": "2023-01-25T19:18:38.154Z",
                    "timestamp": "2023-01-25T19:18:38.171Z"
                },
                "machineState": {
                    "value": "ready",
                    "timestamp": "2023-01-25T19:18:34.326Z"
                },
                "progress": {
                    "value": 0,
                    "unit": "%",
                    "timestamp": "2023-01-25T19:18:38.171Z"
                },
                "supportedMachineStates": {
                    "value": null
                },
                "ovenJobState": {
                    "value": "ready",
                    "timestamp": "2023-01-25T19:18:38.307Z"
                },
                "operationTime": {
                    "value": 0,
                    "timestamp": "2023-01-25T19:18:38.171Z"
                }
            },
            "samsungce.ovenMode": {
                "supportedOvenModes": {
                    "value": [
                        "Autocook",
                        "KeepWarm",
                        "MicroWave",
                        "ConvectionBake",
                        "ConvectionRoast",
                        "SpeedBake",
                        "SpeedRoast",
                        "SteamClean"
                    ],
                    "timestamp": "2023-01-08T23:42:22.761Z"
                },
                "ovenMode": {
                    "value": "NoOperation",
                    "timestamp": "2023-01-25T19:18:38.314Z"
                }
            },
            "samsungce.kidsLock": {
                "lockState": {
                    "value": "unlocked",
                    "timestamp": "2023-01-08T23:42:21.586Z"
                }
            }
        },
        "hood": {
            "samsungce.hoodFanSpeed": {
                "settableMaxFanSpeed": {
                    "value": 3,
                    "timestamp": "2023-01-25T19:18:34.316Z"
                },
                "hoodFanSpeed": {
                    "value": 0,
                    "timestamp": "2023-01-25T01:28:42.735Z"
                },
                "supportedHoodFanSpeed": {
                    "value": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5
                    ],
                    "timestamp": "2023-01-08T23:42:22.167Z"
                },
                "settableMinFanSpeed": {
                    "value": 0,
                    "timestamp": "2023-01-08T23:42:22.167Z"
                }
            },
            "samsungce.lamp": {
                "brightnessLevel": {
                    "value": "off",
                    "timestamp": "2023-01-25T12:27:52.173Z"
                },
                "supportedBrightnessLevel": {
                    "value": [
                        "off",
                        "low",
                        "high"
                    ],
                    "timestamp": "2023-01-08T23:42:22.250Z"
                }
            }
        }
    }
}

Smartthings offline device non reported in status

Hi asked this question in the HA core before knowing this awesome fork.
home-assistant/core#72148

If remove the AC power to the Outdoor Condensing Unit, all 3 splits go off too but while in the smartthings portal they result offline, in HA don't:
Screenshot 2022-05-20 at 12 56 38

169247094-b8c48730-40aa-4fc6-8fee-31f87fd06846

This is also the output of smartthings-cli:

smartthings devices:health -t xxx
┌───┬───────────────────────┬────────────────────┬──────┬──────────────────────────────────────┐
│ # │ Label                 │ Name               │ Type │ Device Id                            │
├───┼───────────────────────┼────────────────────┼──────┼──────────────────────────────────────┤
│ 1 │ Climatizzatore Camera │ [room a/c] Samsung │ OCF  │ xxx │
│ 2 │ Climatizzatore Elisa  │ [room a/c] Samsung │ OCF  │ xxx │
│ 3 │ Climatizzatore Salone │ [room a/c] Samsung │ OCF  │ xxx │
└───┴───────────────────────┴────────────────────┴──────┴──────────────────────────────────────┘

┌───────────────────┬──────────────────────────────────────┐
│ Device Id         │ xxx │
│ State             │ OFFLINE                              │
│ Last Updated Date │ 2022-05-20T09:07:30.684Z             │
└───────────────────┴──────────────────────────────────────┘

Error in Integration Install

Hi,

im trying to install the intagration in HA, after install in HACS, but this error is avoiding:

image

The language is portuguese, but the translation is something like: " It was not possible to load the configuration flux: undefined"

someone can help me?

OCF Refrigerator Not Showing Child Devices

I have a Samsung refrigerator, but am only getting data from the parent device. The child devices (Cooler/Freezer/Ice Maker) are not picked up. Mostly just interested in the freezer. All data shows up properly in the IDE. Happy to provide any additional information/data on this.

Model: RF22A4221SR
Configured Type in IDE: Samsung OCF Refrigerator

Entity sensor.luz_corredor_1_andar_energy_meter (<class 'custom_components.smartthings.sensor.SmartThingsSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Good-afternon,
And sorry if this is already reported.

I just installed yesterday this Integration "by the book" and I'm getting this errors:

Entity sensor.luz_corredor_1_andar_energy_meter (<class 'custom_components.smartthings.sensor.SmartThingsSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.luz_escadas_energy_meter (<class 'custom_components.smartthings.sensor.SmartThingsSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.fibaro_switch_2_garagem_energy_meter (<class 'custom_components.smartthings.sensor.SmartThingsSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.frigorifico_cooler_temperature (<class 'custom_components.smartthings.sensor.SamsungOcfTemperatureSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('temperature') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.fibaro_switch_garagem_energy_meter (<class 'custom_components.smartthings.sensor.SmartThingsSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Regards.
Thanks in advance.

I'm still seeing the old integration

I'm probably missing something here, but how do I get my devices to be controlled by the custom integration and have the extra feature after installing the integration and restarting Home Assistant?

My AC still does no show the new features.

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.