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

veista, updated 🕥 2023-02-06 04:05:12

hacs_badge

SmartThings Custom

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

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 have an extra switch called Light (you don't have a display in your AC), please give me your model number in issues so I can exclude it from the integration for your model
  • If you are missing the sound switch, Cooktop Center Warmer or Cooktop Burner Sensors from your oven, please open an issue and give me your device Model number shown in HA
  • On some AC models not all features function properly before you cycle the power on them after adding them to HA
  • I added all functions that were supported in my AC. If you want a feature that is missing, be welcome to open an issue and we'll find a solution together.
  • If you like the integration please star this repository and concider donating or becoming a sponsor.

Issues

Token renewal

opened on 2023-03-19 16:34:57 by LeChat109

i have a problem, my token has expired (for some reasons idk) and i can't find a way to renew it without completely uninstall the add-on and re-install it and in the process, i lose all my config.

the problems occurs when i restore a backup of my system or when i restore a backup of the add-on.

thx in advance for the help 😄

Temperature Sensors not added

opened on 2023-03-10 18:23:21 by Cronus89

They are still listed as attributes, but in the Official Integration, they current_temperature and temperature attributes were auto setup as sensors. Can this be done here? Sure I can manually create the sensors, but it would be better to have them there by default.

Light switch has no function for these models. Remove?

opened on 2023-02-13 17:46:45 by killtux

I am running some "SAC_GLOBAL_MINI4WAY" and a "SAC_RAC", but the light switch looks like it has no function (even if the SAC_RAC has a display). Nothing happens when pushing it so i think the light switch function is not supported for these models and it can get removed for them.

I also have a MIM-H04EN Wifi Kit to connect the A/C's above. There's a switch labeld "switch". Whats should be the purpose of it? I think it has also no effect on the devices but i am not sure.

no entities for SmartThings AC

opened on 2023-02-09 15:37:01 by MattGapp

Hello Taneli, There are no entities for my Samsung AC being generated exept the not needed "sensor.ac_room_air_quality", "sensor.ac_room_dust_level" and "sensor.ac_room_fine_dust_level". Model Samsung ARxxMYPDAWKN. xx = 10, 13 or 24. With the original SmartThings integration it is working, exept of the extended modes for "fan_only", "display switch" and so on.

Switch to async_forward_entry_setups from async_setup_platforms.

opened on 2023-02-06 04:05:12 by Fail-Safe

This update is required prior to the 2023.3 release. Reference: https://developers.home-assistant.io/blog/2022/07/08/config_entry_forwards/

Signed-off-by: Mark Baker mark@vpost.net

Deprecation of async_setup_platforms fuction

opened on 2023-02-03 19:50:01 by millallo

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)

Releases

Fix for 2022.10 2022-10-09 14:26:18

Fixes issue on HA 2022.10

Added fridge model ARTIK051_REF_17K 2022-05-23 22:34:59

Added fridge model ARTIK051_REF_17K

Fixed adding SPI mode 2022-03-28 22:29:46

Minor fix to SPI mode.

Added SPI mode 2022-03-28 22:03:13

Added SPI mode.

Fix for 2022.3 2022-03-07 21:13:26

Quick fix. Thanks to @firstof9

Added support for OCF Fridge 2022-01-22 03:30:14

Added support for 21K_REF_LCD_FHUB6.0 Fridge via OCF Functions. This is a temporary fix for a problem in pysmartthings.

Taneli Veistinen
GitHub Repository

hacs-integration smartthings home-assistant samsung-ac samsung-oven samsung-ocf