Skip to content

Get Volume

`@ha-bits/bit-system-settings`v1.0.0📥 - downloadssystem settings volume bluetooth dnd

Control device system settings like volume, ringer mode, Bluetooth, and DND

Usage

yaml
# In your habit YAML
nodes:
  - id: my-bit-system-settings-node
    type: bit
    framework: bits
    module: "@ha-bits/bit-system-settings"
    action: "getVolume"
    data:
      # action properties...

Actions

ActionDescription
Get VolumeGet the current volume level for a stream
Set VolumeSet the volume level for a stream (Android only)
MuteMute an audio stream (Android only)
UnmuteUnmute an audio stream (Android only)
Get Ringer ModeGet the current ringer mode
Set Ringer ModeSet the ringer mode (Android only)
Set Silent ModeEnable silent mode (no sound or vibration)
Set Vibrate ModeEnable vibrate mode (vibration only)
Set Normal ModeEnable normal ringer mode (sounds enabled)
Get Bluetooth StateGet the current Bluetooth state
Enable BluetoothEnable Bluetooth (opens settings on newer Android/iOS)
Disable BluetoothDisable Bluetooth (opens settings on newer Android/iOS)
Get Do Not Disturb StateGet the current Do Not Disturb state (Android only)
Enable Do Not DisturbEnable Do Not Disturb mode (Android only)
Disable Do Not DisturbDisable Do Not Disturb mode (Android only)
Set Focus ModeEnable focus mode (mute media, enable DND, set vibrate)
Clear Focus ModeDisable focus mode (unmute, disable DND, set normal)

Released under the AGPL-3.0 License.