---
title: "get component attributes · RUAL Documentation"
description: "Grabs the current attributes of the component"
canonical: https://docs.rual.nl/block-types/state%20actions/state_component_attributes
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# get component attributes

This block is part of the [`state actions`](https://docs.rual.nl/block-types/state%20actions) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Grabs the current attributes of the component

- component required `state`

- attributes `object` Returns the currents component attributes

A typical wiring for [get component attributes](https://docs.rual.nl/block-types/state%2520actions/state_component_attributes): the `attributes` out pin feeds [custom field](https://docs.rual.nl/block-types/object/object_get_custom_field).

[![Studio canvas example for the get component attributes block: typical wiring for get component attributes.](https://docs.rual.nl/canvas-examples/state_component_attributes.png)](https://docs.rual.nl/canvas-examples/state_component_attributes.png?v=3)

## Version history

Introduced in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

- [Back to `state actions`](https://docs.rual.nl/block-types/state%20actions): Return to the main group to view all sub-groups

- [Back to `state: helpers`](https://docs.rual.nl/block-types/state%20actions?group=state:%20helpers): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
